dsoloview/laravel-pint-pre-commit

Laravel Pint pre-commit git hook

Installs: 20 454

Dependents: 0

Suggesters: 0

Security: 0

Stars: 9

Watchers: 2

Forks: 0

Open Issues: 0

pkg:composer/dsoloview/laravel-pint-pre-commit

1.0.7 2022-08-17 12:36 UTC

This package is auto-updated.

Last update: 2025-09-21 20:59:27 UTC


README

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