# Formatter

The Mago formatter ensures a consistent and professional code style across your PHP project. It applies formatting rules based on your configuration, improving code readability and collaboration.

## Documentation

### [Usage](formatter/usage.md)

Learn how to use the formatter to format your PHP files efficiently.

### [Settings](formatter/settings.md)

Explore all available formatting options and their configurations.

## Features

- Configurable formatting rules to suit your project's style.
- Ability to preview changes with a dry run.
- Customizable options like maximum line width, indentation style, and more.

Use the formatter to maintain a clean and consistent codebase.

## Configuration

The formatter relies on your `mago.toml` file for configuration. You can use this file to customize formatting rules, adjust options, and define project-specific settings.

For more information, refer to the [Configuration](getting-started/configuration.md) guide.
