# git-commit-checker **Repository Path**: wpcmf/git-commit-checker ## Basic Information - **Project Name**: git-commit-checker - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2022-04-11 - **Last Updated**: 2022-04-11 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Laravel GIT commit checker ## Installation ```bash composer require wpcmf/git-commit-checker ``` For version <= 5.4: Add to section `providers` of `config/app.php`: ```php // config/app.php 'providers' => [ ... Wpcmf\GitCommitChecker\Providers\GitCommitCheckerServiceProvider::class, ]; ``` Publish the configuration: ```bash php artisan vendor:publish --provider="Wpcmf\GitCommitChecker\Providers\GitCommitCheckerServiceProvider" --tag=config ``` ### Install GIT hooks ```bash php artisan git:install-hooks ``` - Create default PSR config (It will create phpcs.xml in your root project). ```bash php artisan git:create-phpcs ``` - Run test manually (made sure you've added all changed files to git stage) ```bash php artisan git:pre-commit ```