Looking to hire Laravel developers? Try LaraJobs

laravel-pint-pre-commit maintained by dsoloview

Description
Laravel Pint pre-commit git hook
Last update
2022/08/17 14:36 (dev-master)
License
Links
Downloads
29 961

Comments
comments powered by Disqus

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