PHP code example of zeroc0d3lab / commit-checker
1. Go to this page and download the library: Download zeroc0d3lab/commit-checker library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
zeroc0d3lab / commit-checker example snippets
// config/app.php
'providers' => [
...
Zerocod3lab\CommitChecker\Providers\CommitCheckerServiceProvider::class,
];
bash
php artisan vendor:publish --provider="Zerocod3lab\CommitChecker\Providers\CommitCheckerServiceProvider" --tag=config
bash
php artisan git:install-hooks
bash
php artisan git:create-phpcs
bash
php artisan git:pre-commit