grilar / git-commit-checker
Check coding standard & code syntax with Git pre-commit hook.
Installs: 2
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:package
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