Submit a product

Mago

PHP toolchain for linting, formatting and static analysis

ToolWindowsOpen source

Mago is a PHP toolchain for checking and tidying PHP code, with linting, formatting and static analysis in one package. It is aimed at developers working on PHP projects of any size.

Its design takes cues from the Rust ecosystem. The source code is public under the Apache-2.0 license, and the tool is listed for Windows on winget. It is free to use and modify under those terms.

Alternatives to Mago

Products that do a similar job in Developer Tools.

All alternatives

PHP_CodeSniffer

Command-line checker that flags PHP code against coding standards

ToolDeveloper Tools··Open source·11k

ShellCheck

Static analysis linter for bash and other shell scripts

ToolDeveloper Tools·Open source·40k

SonarQube CLI

command-line client for SonarQube code quality and security scans

ToolDeveloper Tools·

reviewdog

Posts linter output as code review comments on pull requests

ToolDeveloper Tools··Open source·9.8k

isort

command-line tool that sorts Python import statements

ToolDeveloper Tools··Open source·7k

jscpd

Finds duplicated code blocks across source files in many languages

ToolDeveloper Tools··Open source·6.7k

PhpStorm

IDE for PHP development from JetBrains

AppDeveloper Tools··Paid

Laravel Herd

Local PHP and Laravel development environment for macOS

ToolDeveloper Tools·