Skip to content
SPECIFICTION
Get listed

Laravel Pint

laravel.com

Free plan macOSSelf-hosted
Visit laravel.com
Spec score 8.3 #5 of 34 in Code Formatting Tools

Spec sheet

Purpose
Laravel Pint is an opinionated PHP code style fixer built on PHP CS Fixer.Read 9 Oct 2026 · laravel.com
License
The Laravel Pint repository identifies Pint as open-source software licensed under the MIT license.Read 8 Oct 2026 · github.com
Blade formatting
Blade formatting is off by default; enabling it uses Prettier and Blade and Tailwind CSS plugins, and requires Node.js.Read 8 Oct 2026 · laravel.com
Blade support
Blade formatting is off by default and can be enabled with a rule or for one run with the --blade option; it uses Prettier and requires Node.js.Read 9 Oct 2026 · laravel.com
Check without changing files
The `--test` option checks for style errors without changing files and returns a non-zero exit code when it finds errors.Read 8 Oct 2026 · laravel.com
CI integration
Laravel documents configuring GitHub Actions to run Pint when code is pushed to GitHub.Read 9 Oct 2026 · laravel.com
Continuous integration
Laravel’s documentation gives an example of running Pint with GitHub Actions when code is pushed.Read 8 Oct 2026 · laravel.com
Customization
Users can customize presets, rules, and inspected folders in a pint.json configuration file.Read 9 Oct 2026 · laravel.com
Default behavior
Pint requires no configuration by default and applies Laravel's coding style.Read 9 Oct 2026 · laravel.com
Default setup
Pint requires no configuration by default and applies Laravel’s coding style.Read 8 Oct 2026 · laravel.com
File scope
By default, Pint inspects project PHP files except those in the vendor directory, with configuration options to exclude more files and folders.Read 9 Oct 2026 · laravel.com
Git workflow
The `--diff` option can limit work to files that differ from a specified Git branch, including for CI use.Read 8 Oct 2026 · laravel.com
Installation
Pint is included in recent Laravel framework releases; older applications can install it with Composer.Read 9 Oct 2026 · laravel.com
Laravel installation
Pint is automatically installed with new Laravel applications and is included in recent Laravel framework releases.Read 8 Oct 2026 · laravel.com
License and security reporting
Pint is MIT-licensed, and its repository directs users to its security policy to report vulnerabilities.Read 9 Oct 2026 · github.com
Other projects
Older applications can install Pint with Composer using `composer require laravel/pint --dev`.Read 8 Oct 2026 · laravel.com
Parallel processing
Experimental parallel mode can use every available machine core by default or a maximum process count specified by the user.Read 9 Oct 2026 · laravel.com
PHP CS Fixer rules
Pint is built on PHP CS Fixer and can use its rules, along with Pint’s optional custom rules.Read 8 Oct 2026 · laravel.com
Presets
Supported presets are laravel, per, psr12, symfony, and empty.Read 9 Oct 2026 · laravel.com
Requirements
The current Packagist package requires PHP ^8.3.0 and the json, mbstring, tokenizer, and xml extensions.Read 9 Oct 2026 · packagist.org
Run modes
Pint can format selected files or directories, inspect without changing files, and target Git diffs or uncommitted changes.Read 9 Oct 2026 · laravel.com
Supported presets
Pint supports the `laravel`, `per`, `psr12`, `symfony`, and `empty` presets.Read 8 Oct 2026 · laravel.com
Who it is for
The documentation says Pint is automatically installed with new Laravel applications and is ready to use immediately.Read 9 Oct 2026 · laravel.com

Plans and prices

Laravel Pint Free Open-source PHP code style fixer · MIT license Read 9 Oct 2026 · github.com

Every Laravel Pint plan and price →

Where Specifiction places it

Alternatives to Laravel PintAll alternatives →