Skip to content

Ymbra/Drobo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Drobo

PHP library based in Robo that provides handy tasks to manage a Drupal 8 site.

Requirements

Install

Via Composer

$ composer require ymbra/drobo

Available tasks

Install Drupal site.

$ vendor/bin/drobo site:install

Update Drupal site.

$ vendor/bin/drobo site:update

Backup Drupal database.

$ vendor/bin/drobo db:backup

Create Custom tasks

  1. Create directory structure /drobo/Commands in your project root.
  2. 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.');
  }
}

License

Please see License File for more information.