PHP code example of droath / robo-command-builder

1. Go to this page and download the library: Download droath/robo-command-builder 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/ */

    

droath / robo-command-builder example snippets




$pathToConfig = __DIR__ . '/command.yml';

$task $this->task(
    CommandBuilder::class, 'upload', $pathToConfig, null
);

$task->file(/path/to/file)->run();