carthage-software

    carthage-software/mago

    Mago is a toolchain for PHP that aims to provide a set of tools to help developers write better code.

    developer-tools
    code-analyzer
    code-style
    coding-standards
    formatter
    lexer
    Rust
    Apache-2.0
    3.5K stars
    214 forks
    3.5K GitHub watchers
    Updated Nov 4, 2026
    View on GitHub

    Build with Backblaze B2

    SDKs, agent skills, IDE extensions, and reference pipelines from Backblaze Labs. All open source.

    Explore Backblaze Labs

    Loading star history...

    Where it stands

    Rank, growth pace and release cadence relative to everything GStars tracks.

    5 releases in the last 90 days, the latest 10 days ago, with 109 contributors on GitHub.

    Peaked at #50 in the weekly ranking the week of Sep 14, its best in the past year.

    Use Cases & Benefits

    • Provides a fast, comprehensive PHP toolchain including linting, formatting, static analysis, and semantic checks, all implemented in Rust.
    • Delivers exceptional speed and reliability by leveraging Rust, enabling efficient code quality enforcement in PHP projects.
    • Use for automating code style enforcement and formatting to maintain consistent PHP codebases.
    • Use for performing deep static analysis and type checking to catch potential bugs and type errors early.
    • Use for exploring and visualizing PHP code structure through Abstract Syntax Tree (AST) parsing to aid in code understanding.

    Should you depend on it?

    License terms, project hygiene and risks, from GitHub metadata and GStars' snapshots.

    License

    Apache 2.0

    Permissive: commercial use, modification and redistribution are allowed with attribution; includes an explicit patent grant from contributors.

    Community files

    • README: present
    • Contributing guide: present
    • Code of conduct: present

    Watch-outs

    No watch-outs from GStars' checks.

    General guidance from repository metadata, not legal advice. How we score

    From the README

    An extremely fast PHP linter, formatter, and static analyzer, written in Rust.

    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:

    For all other installation methods, including Homebrew, Composer, and Cargo, please refer to our official Installation Guide.

    Excerpt from the carthage-software/mago README on GitHub (Apache-2.0 license). © its authors.Read the full README on GitHub

    Daily snapshots

    Stars gained per day, and how forks and open issues moved, from GStars' daily snapshots

    Forks

    214+42

    Open issues

    141+37

    Compared with peers in Developer Tools

    Fastest-growing repositories GStars tracks in this cohort for the week of Nov 1, by 7-day star growth

    carthage-software/mago compared with Developer Tools repositories by stars, 7-day star growth, health score and last release
    RepositoryStars+7dHealthLast release
    stablyai/orca116.8K+6.6K40today
    affaan-m/ECC297.9K+5.2K6335 days ago
    DietrichGebert/ponytail185.3K+5.1K607 days ago
    herdrdev/herdr48.3K+1.7K5922 days ago
    The-PR-Agent/pr-agent15.1K+1.5K6411 days ago
    carthage-software/mago3.5K—6410 days ago
    Category median116.8K+5.1K60—

    Discover Repositories

    Search across tracked repositories by name or description