Skip to content

A highly opinionated Git pre-commit hooks for coding standards checking, and syntax fixing for the Laravel framework.

License

Notifications You must be signed in to change notification settings

laranail/git-commit-checker

Repository files navigation

banner

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:

  1. Laravel framework >= v9
  2. PHP >= v8.0

Installation

You can install the package via composer:

composer require laranail/git-commit-checker

To 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-views

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 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.

About

A highly opinionated Git pre-commit hooks for coding standards checking, and syntax fixing for the Laravel framework.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published