PHP code example of hungthai1401 / laravel-pre-commit

1. Go to this page and download the library: Download hungthai1401/laravel-pre-commit 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/ */

    

hungthai1401 / laravel-pre-commit example snippets


php artisan vendor:publish --provider="HT\PreCommit\Providers\PreCommitServiceProvider" --tag=config

php artisan git:pre-commit-hook:install

php artisan git:publish-phpcs

php artisan git:pre-commit