I have recently saw this very interesting project and thought to it will help with Magento 2 developers.
- It provide pint binary file to execute directly from Magento 2 root directory or move this file to central location to run from anywhere.
- No need to install with composer.
- It will not update the packages you have already.
- It supports PHP 8.0.*
- You have to create a new file pint.json at Magento 2 root and copy the content from repository to that file.
- Download the
pint.phar
file from Laravel Pint Github.
- php pint.phar --version or -V - to check the pint version
- php pint.phar --test app/code - to test the code in
app/code
directory - php pint.phar app/code - it applies the fixes to the files.
- Pint Github - https://github.com/laravel/pint
- Pint Docs - https://laravel.com/docs/9.x/pint
- Pint License - https://github.com/laravel/pint/blob/main/LICENSE.md
Credits - Laravel Team