An open API service indexing awesome lists of open source software.

https://github.com/dsoloview/laravel-pint-pre-commit

Git pre-commit hook for Laravel Pint
https://github.com/dsoloview/laravel-pint-pre-commit

githook laravel laravel-package laravel-pint pre-commit-hook

Last synced: 5 months ago
JSON representation

Git pre-commit hook for Laravel Pint

Awesome Lists containing this project

README

          

# 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
```bash
composer require dsoloview/laravel-pint-pre-commit
```

To add githook
```bash
php artisan pint-githook:install
```
To remove githook
```bash
php artisan pint-githook:remove
```

### License
MIT