A Visual Studio Code extension that integrates mago into your PHP workflow.
It provides formatting, linting, and analysis with accurate ranges, safe auto-fix support, and a dedicated Analyze panel similar to VS Code’s Problems / Source Control views.
Features
✅ Format PHP (mago fmt)
Supports:
Format on Save
Format Document command
Right-click → Format Document
✅ Lint PHP (mago lint)
Supports:
On save linting
Manual lint command
Diagnostics appear in:
Editor gutter
Problems panel
Detects safe fixes from mago output
✅ Auto-Fix Support
Safe fixes are detected from mago’s output
✅ Analyze View (mago analyze)
A dedicated Analyze panel (Activity Bar view), similar to Source Control: