Git Commit Checker
A highly opinionated Git pre-commit hooks for coding standards checking, and syntax fixing for the Laravel framework.
Requirements
To be able to use this package you need to meet the following minimum requirements:
- Laravel framework >= v9
- PHP >= v8.0
Installation
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-viewsInstall GIT hooks
Run 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-hookChangelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email minhsang2603@gmail.com instead of using the issue tracker.
Credits
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.
Contributors
License
The MIT License (MIT). Please see License File for more information.
