Hacker GitHub

← All repos

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

Mentions per year 6 mentions · busiest year 2025 (5)
20082026
  1. …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…
  2. …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…
  3. …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,…
  4. …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
  5. ▲ 159
    Mago: A fast PHP toolchain written in Rust
    story by AbuAssar · 2025-09-13 · 70 comments
  6. 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