Skip to content

Check coding standard & code syntax with Git pre-commit hook

License

Notifications You must be signed in to change notification settings

botble/git-commit-checker

Repository files navigation

Laravel GIT Commit Checker

Overview Git Commit Checker

Latest Version Software License Total Downloads Maintainability

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 botble/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

Changelog

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 [email protected] instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.