PHP library based in Robo that provides handy tasks to manage a Drupal 8 site.
- PHP 7.0 or higher
- Composer
- Drush
- drupal-potx
- PHP dotenv
Via Composer
$ composer require ymbra/drobo
$ vendor/bin/drobo site:install
$ vendor/bin/drobo site:update
$ vendor/bin/drobo db:backup
- Create directory structure /drobo/Commands in your project root.
- Create CustomCommands.php inside /drobo/Commands:
namespace Drobo\Commands;
use Robo\Tasks;
/**
* Custom tasks for the project.
*/
class CustomCommands extends Tasks {
public function helloWorld() {
$this->io()->newLine();
$this->io()->title('Hello World.');
}
}
Please see License File for more information.