carthage-software/mago
Mago is an extremely fast PHP linter, formatter, and static analyzer written in Rust. It helps teams catch issues early, enforce consistent style, and improve code quality across projects, with multiple install options like script, Homebrew, Composer, and Cargo.
A standalone Rust builder for the static documentation site. cargo run writes
a flat tree of HTML to dist/. There is no dev server and no live reload, just
re-run the command after any change.
npm install
cargo run -p mago-documentation
The output uses absolute asset paths (/_assets/…), so file:// URLs do not
work. Serve dist/ with PHP's built-in server (already on every Mago
contributor's machine):
cd dist && php -S 127.0.0.1:3031
Then open http://127.0.0.1:3031/main/en/.
content/<lang>/… with TOML front matter fenced by +++.title, description, nav_order, and nav_section.config.toml under [[languages]].content/<new-lang>/ with a mirrored page tree.i18n/<new-lang>.toml.[[redirect]] block to redirects.toml.from, to, and whether query/hash must be preserved.dist/<from>/index.html.static/ and are copied to dist/_assets/.content/<lang>/tools/linter/rules.md) is
regenerated on every build by walking the in-process mago-linter registry.How can I help you explore Laravel packages today?