ymbra / drobo
Handy tasks to manage a Drupal 8 site
Installs: 1 454
Dependents: 0
Suggesters: 0
Security: 0
Stars: 5
Watchers: 6
Forks: 1
Open Issues: 0
Requires
- php: ^7.0
README
PHP library based in Robo that provides handy tasks to manage a Drupal 8 site.
Requirements
- PHP 7.0 or higher
- Composer
- Drush
- drupal-potx
- PHP dotenv
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
- 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.'); } }
License
Please see License File for more information.