carthage-software/mago
Mago is an extremely fast PHP linter, formatter, and static analyzer written in Rust. It brings Rust-inspired speed and reliability to PHP projects with a modern toolchain and great developer experience, plus multiple install options (script, Homebrew, Composer).
Mago includes specialized sets of linting rules designed for popular PHP frameworks and libraries. These integrations allow Mago to provide more intelligent and context-aware feedback for your specific stack.
When an integration is enabled, Mago will automatically activate all the rules associated with it. You can still configure or disable individual rules from an integration in your [linter.rules] table if needed.
Mago is built with the broader PHP ecosystem in mind and includes support for a wide range of tools.
:::info While Mago supports a wide range of integrations, please note that not all of them have specific linter rules yet. Many are included as placeholders for future development.
For a complete list of integrations that currently have specific rules, please see the Integration-specific rules list. :::
You can enable integrations in your mago.toml file under the [linter] table. See the Configuration Reference for more details. for more details.
[linter]
# Enable the Symfony and PHPUnit integrations
integrations = ["symfony", "phpunit"]
How can I help you explore Laravel packages today?