Skip to content

Getting Started 🚀

Welcome to Mago! You're about to experience a new level of speed and precision in PHP development tooling.

Mago is a complete toolchain for PHP, written in Rust, designed from the ground up for maximum performance. It includes:

  • A Blazing-Fast Formatter: Automatically formats your code according to PSR-12, ending style debates forever.
  • An Intelligent Linter: Catches stylistic issues, inconsistencies, and code smells before they become problems.
  • A Powerful Static Analyzer: Finds type errors and logical bugs in your code without you ever having to run it.

This guide will walk you through installing Mago and setting it up for your project in just a few minutes.

Next Steps

Ready to dive in? Here's where to go next: