carthage-software/mago
View on GitHub ↗ ★ 3,551 Rust
Mago is a toolchain for PHP that aims to provide a set of tools to help developers write better code.
6 mentions on Hacker News by 5 people: 1 story, 5 comments · first 2025-09-11 · latest 2026-07-05
20082026
-
…analyzer for php is written in rust and might be useful for gaining some "free" performance uplift: https://github.com/carthage-software/mago . iirc it splits out a far bit of its internals so they can be used by other projects (citation…
comment by wsor4035 · 2026-07-05 · in My AI-built PHP engine in Rust passes 17% of PHP-src tests, renders WordPress -
…and support for both was just merged in the past few hours: @method support is now quite robust: - https://github.com/carthage-software/mago/commit/c76795c30de... - https://github.com/carthage-software/mago/commit/dc333edb261... @property…
comment by azjezz2 · 2025-09-14 · in Mago: A fast PHP toolchain written in Rust -
…isn't to be a 1-to-1 clone of Psalm or PHPStan, but a different tool with its own strengths (see: https://github.com/carthage-software/mago/discussions/379 ). For example, Mago will flag code like `[0 => $a, $b] = ["a", "b"]` as an error,…
comment by azjezz2 · 2025-09-14 · in Mago: A fast PHP toolchain written in Rust -
…mention that Mago is still beta software. A roadmap to a first release was created 5 days ago, https://github.com/carthage-software/mago/issues/405 . I've just tried to apply it to a medium-sized project, and it spitted tens of thousands…
comment by idoubtit · 2025-09-13 · in Mago: A fast PHP toolchain written in Rust -
PHP is getting Mago (written in Rust). Repo: https://github.com/carthage-software/mago Announcement 9 months ago: https://www.reddit.com/r/PHP/comments/1h9zh83/announcing_mag... For now its main features are 3: formatting, linting and…
comment by hu3 · 2025-09-11 · in Behind the scenes of Bun Install