A highly opinionated Git pre-commit hooks for coding standards checking, and syntax fixing for the Laravel framework.
To be able to use this package you need to meet the following minimum requirements:
- Laravel framework >= v9
- PHP >= v8.0
You can install the package via composer:
composer require laranail/git-commit-checkerTo publish views and config files for further manipulation, run the following commands:
php artisan vendor:publish laranail::git-commit-checker-config
php artisan vendor:publish laranail::git-commit-checker-viewsRun this command to install:
php artisan git-commit-checker:installRun test manually (made sure you've added all changed files to git stage):
php artisan git-commit-checker:pre-commit-hookPlease see CHANGELOG for more information on what has changed recently.
Please see CONTRIBUTING for details.
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
This project wouldn't have been possible without the inspiration and ideas borrowed from many sources across the open source community, we say thank you to the respective authors.
The MIT License (MIT). Please see License File for more information.
