New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

krok/laravel-pint

An opinionated code formatter for PHP.
4,737
Install
composer require krok/laravel-pint
Latest Version:2.0.0
PHP:^8.3
Laravel:12 · 13
License:MIT
Last Updated:Aug 14, 2026
Links: GitHub  ·  Packagist
Maintainer: krok

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist krok/laravel-pint --dev

Usage

Publish the Pint configuration to the project root:

php artisan vendor:publish --tag=pint

License

MIT license.

Related Packages

jubeki/laravel-code-style

Combine Custom Fixers with the ruleset of Laravel Pint to fix your code style in...

617,349 55
artisanpack-ui/code-style-pint

Laravel Pint preset for ArtisanPack UI code standards

12,375 0
joelstein/blade-formatter

Format Blade templates and Livewire SFCs with Pint, Tailwind class sorting, and...

780 7
svnjn/php-standards

Shared strict coding standards, static analysis rules and tooling for svnjn PHP...

27 1
devforce141/code-quality-starter-kit

DevForce 141 — Laravel starter kit with Pint, Larastan, Pest, and Rector pre-con...

4 0

Version History

Version Released PHP Laravel License
2.0.0 ^8.3 ^12.0|^13.0 MIT
1.0.1 ^8.1 MIT
1.0.0 ^8.1 MIT