Mago 是一个用于 PHP 的工具链,旨在提供一组工具来帮助开发人员编写更好的代码。
Mago is a comprehensive toolchain for PHP that helps developers write better code. Inspired by the Rust ecosystem, Mago brings speed, reliability, and an exceptional developer experience to PHP projects of all sizes.
The most common way to install Mago on macOS and Linux is by using our shell script:
curl --proto '=https' --tlsv1.2 -sSf https://carthage.software/mago.sh | bashTo install a specific version:
curl --proto '=https' --tlsv1.2 -sSf https://carthage.software/mago.sh | bash -s -- --version=1.49.0For all other installation methods, including Homebrew, Composer, and Cargo, please refer to our official Installation Guide.
To get started with Mago and learn how to configure your project, please visit our Getting Started Guide in the official documentation.
Mago is a community-driven project, and we welcome contributions! Whether you're reporting bugs, suggesting features, writing documentation, or submitting code, your help is valued.
Mago stands on the shoulders of giants. Our design and functionality are heavily inspired by pioneering tools in both the Rust and PHP ecosystems.
We deeply respect the foundational work of tools like PHP-CS-Fixer, Psalm, PHPStan, and PHP_CodeSniffer. While Mago aims to offer a unified and faster alternative, these tools paved the way for modern PHP development.
Mago is dual-licensed under your choice of the following:
暂无开放 Issues,或尚未同步最近议题。