PHP code example of droath / robo-ddev
1. Go to this page and download the library: Download droath/robo-ddev 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-ddev example snippets
use \Droath\RoboDDev\Task\loadTasks;
// Command equivalent: `ddev start --all`
$this->taskDDevStart()
->all()
->run();
// Command equivalent: `ddev stop --stop-ssh-agent`
$this->taskDDevStop()
->stopSshAgent()
->run();