grilar / git-commit-checker
Check coding standard & code syntax with Git pre-commit hook.
Package info
github.com/grilar/git-commit-checker
Type:package
pkg:composer/grilar/git-commit-checker
v1.0.0
2023-08-15 14:55 UTC
Requires
- php: ^8.0|^8.1|^8.2
- laravel/framework: ^9.32|^10.0
- laravel/pint: ^1.4.0
Requires (Dev)
- phpunit/phpunit: ^9.0|^10.0
README
Requirement
- Laravel 9.32 or later
- If you're using Laravel 8.0 or earlier, please use version 1.x
Installation
You can install the package via composer:
composer require grilar/git-commit-checker
Publish the configuration:
php artisan vendor:publish --tag=git-commit-checker-config
Install GIT hooks
Run this command to install:
php artisan git-commit-checker:install
Run test manually (made sure you've added all changed files to git stage):
php artisan git-commit-checker:pre-commit-hook