Magofor VS Code
PHP formatting, linting, and static analysis — powered by the mago toolchain.
code --install-extension kellymears.vscode-magoRequires the mago CLI.
Configure
Formatting works out of the box. Add what you need.
Linting
Diagnostics from 135+ rules on save.
"mago.lint.enabled": trueAnalysis
Static analysis in the Problems panel.
"mago.analyze.enabled": trueLint on Type
Real-time feedback as you write.
"mago.lint.run": "onType"Fix File
Auto-fix from the command palette.
⌘⇧P → Mago: Fix File (Safe)