mago
Mago is a toolchain for PHP that aims to provide a set of tools to help developers write better code
HomepageCategories
formatter
linter
Languages
php
Commands
mago:format
The format command is used to format PHP files in your project according to the rules defined in your mago.toml configuration file
HomepageArguments:
format $PATH
mago:lint
The lint command is used to analyze PHP files in your project and report any issues found by the linter
HomepageArguments:
lint $PATH
mago:lint:fix:unsafe
Fix unsafe linting errors found by mago lint
HomepageArguments:
lint --fix --potentially-unsafe --unsafe $PATH