droath/robo-ddev

Expose the DDev executable commands to the Robo task runner.

Installs: 2 100

Dependents: 1

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 0

Open Issues: 0

Type:robo-tasks

0.0.8 2023-08-11 16:45 UTC

This package is auto-updated.

Last update: 2024-04-11 18:05:50 UTC


README

Run DDev commands from the Robo task runner. You'll need to have the DDev executable installed. Learn more at https://www.ddev.com/.

Getting Started

First, you'll need to download the robo ddev library using composer:

composer require --dev droath/robo-ddev

Example

<?php

    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();