PHP code example of sethcarstens / github-php-deploybot

1. Go to this page and download the library: Download sethcarstens/github-php-deploybot 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/ */

    

sethcarstens / github-php-deploybot example snippets



$debug_level = 2;
. 'config.php';
$deploy_bot = new Github_Php_Deploybot\Deployment( json_decode( fgets( STDIN ) ), $debug_level, $config_file );
$deploy_bot->deploy_repo();


composer