grilar/git-commit-checker

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

v1.0.0 2023-08-15 14:55 UTC

This package is auto-updated.

Last update: 2024-05-15 16:41:37 UTC


README

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