Skip to content

dsoloview/laravel-pint-pre-commit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Laravel Pint githook

Git pre-commit hook for Laravel Pint
Automatically formats and saves code on commit
You no longer need to run the ./vendor/bin/pint command every time

Requirements:

  • PHP 8+
  • Laravel 9+
  • Laravel Pint 1+

Installation

composer require dsoloview/laravel-pint-pre-commit

To add githook

php artisan pint-githook:install

To remove githook

php artisan pint-githook:remove

License

MIT