---
layout: home

hero:
  name: "Mago"
  tagline: The Oxidized PHP Toolchain. A blazing fast linter, formatter, and static analyzer for PHP, written in Rust.
  image:
    src: /assets/logo.png
    alt: Mago
    id: mago-logo
  actions:
    - theme: brand
      text: Get started
      link: /guide/getting-started
    - theme: alt
      text: View on GitHub
      link: https://github.com/carthage-software/mago

features:
  - icon: ⚡️
    title: The fastest toolchain
    details: Mago is engineered from the ground up for maximum performance, leveraging Rust and a parallel pipeline to analyze and format code faster than any other tool.
  - icon: 🛠️
    title: All-in-one solution
    details: Get a powerful static analyzer, a configurable linter, an architectural guard, and an opinionated code formatter in a single, cohesive binary.
  - icon: 🎨
    title: Smart & opinionated
    details: With a focus on correctness and modern PHP standards, Mago provides intelligent feedback and consistent formatting to eliminate style debates and prevent bugs.
---

<div class="consulting-container">
  <h2>Professional consulting</h2>
  <p class="description">
    Need expert help with high-performance and high-load PHP applications?
  </p>
  <p>
    <a href="https://carthage.software/en/#contact" rel="noopener">Get in touch!</a>
  </p>
</div>

<div class="sponsor-container">
  <h2>Sponsored by</h2>
  <!-- SPONSORS_START -->
<div class="sponsors-list"><div class="sponsors-list-large"><div class="sponsor-item-large"><a href="https://www.jetbrains.com/" title="JetBrains" target="_blank" rel="noopener"><img src="https://avatars.githubusercontent.com/u/60931315?u=f9b545e50cace9e9028f77eaf1e83104d18d4d48&v=4&s=256" alt="JetBrains"></a><div class="sponsor-name"><a href="https://www.jetbrains.com/" target="_blank" rel="noopener">JetBrains</a></div></div>
<div class="sponsor-item-large"><a href="http://www.dynasource.eu" title="Boudewijn Vahrmeijer" target="_blank" rel="noopener"><img src="https://avatars.githubusercontent.com/u/125726?u=f2a45c40beb5e1071e9cd713793348fea08f7986&v=4&s=256" alt="Boudewijn Vahrmeijer"></a><div class="sponsor-name"><a href="http://www.dynasource.eu" target="_blank" rel="noopener">Boudewijn Vahrmeijer</a></div></div>
</div><hr><div class="sponsors-list-medium"><div class="sponsor-item-medium"><a href="https://github.com/jasonrm" title="Jason R. McNeil" target="_blank" rel="noopener"><img src="https://avatars.githubusercontent.com/u/39949?u=69c0e4fb08c439250978d41dbc3371d2f0609b98&v=4&s=96" alt="Jason R. McNeil"></a></div>
<div class="sponsor-item-medium"><a href="https://ofcompute.rs/" title="Vincent Berset" target="_blank" rel="noopener"><img src="https://avatars.githubusercontent.com/u/5173120?u=95efc76cd8fc804536dc6dd25781a95b650bf902&v=4&s=96" alt="Vincent Berset"></a></div>
</div><hr><div class="sponsors-list-small"><a class="sponsor-item-small" href="https://github.com/kambo-1st" title="Bohuslav Šimek" target="_blank" rel="noopener"><img src="https://avatars.githubusercontent.com/u/6493048?u=5eddf1eb923810745d8bdd62496d245238833d07&v=4&s=48" alt="Bohuslav Šimek"></a>
<a class="sponsor-item-small" href="https://www.ticketswap.com" title="TicketSwap" target="_blank" rel="noopener"><img src="https://avatars.githubusercontent.com/u/5766233?v=4&s=48" alt="TicketSwap"></a>
</div></div><hr /><p style="text-align: center;">Your logo here? <a href="https://github.com/sponsors/azjezz" target="_blank" rel="noopener">Become a sponsor!</a></p>
<!-- SPONSORS_END -->
</div>
