PHP code example of andkirby / commithook

1. Go to this page and download the library: Download andkirby/commithook 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/ */

    

andkirby / commithook example snippets

shell
    $ commithook config --xpath code/interpreter/php d:/s/php-7.0.14/php.exe --project-self
    
shell
    $ composer global