carthage-software/mago
Mago is an extremely fast PHP linter, formatter, and static analyzer written in Rust. It brings Rust-inspired speed and reliability to PHP projects with a modern toolchain and great developer experience, plus multiple install options (script, Homebrew, Composer).
Mago's formatter is a powerful, opinionated code formatter for PHP that ensures your entire codebase adheres to a single, consistent style.
Its primary goal is to end debates over code style. By automating the formatting process, it allows you and your team to stop worrying about whitespace and focus on what truly matters: building great software.
Mago takes a "parse-and-reprint" approach, inspired by modern formatters like Prettier and rustfmt.
This process guarantees that the output is always 100% consistent, regardless of the input style. Most importantly, it does this without ever changing the behavior of your code.
mago format command and its flags.How can I help you explore Laravel packages today?