Introductions
On June 22, 2022, the laravel core team just released a package called Pint that is used to tidy up our php code. Pint is built on top of PHP-CS-Fixer and makes it simple to ensure that your code style stays clean and consistent.
Pint is automatically installed with Laravel 10 so you can start using it right away. By default, Pint does not require any configuration and will fix code style issues in your code by following the Laravel code style.
Installations
If you are using Laravel 9 and below or want to add Pint to an existing project, you can install Laravel Pint through Composer:
composer require laravel/pint --dev
Usage
Once Pint has been installed, to run it, you can use a direct call from the vendor as follows.
./vendor/bin/pint
By default, Pint does not require any configuration and will fix code style issues in your code by following an opinionated coding style of Laravel:

When running Pint, it will output a list of files that have been fixed. It is possible to see the changes made in more detail using the -v
option:

In addition, if you would like Pint to simply inspect your code for style errors without actually changing the files, you may use the --test
option:

Be sure to check out the Pint documentation at Laravel Pint Repository We hope you enjoy this new package. At Laravel, we're committed to providing you with the most robust and developer-friendly PHP experience in the world. Enjoy!
Reference: Laravel Pint v1.0 Released