PHPackages                             digipolisgent/robo-drush - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [CLI &amp; Console](/categories/cli)
4. /
5. digipolisgent/robo-drush

ActiveRobo-tasks[CLI &amp; Console](/categories/cli)

digipolisgent/robo-drush
========================

Drush CommandStack for Robo Task Runner

5.2.0(1y ago)0135.9k↓32.3%31MITPHP

Since Jun 6Pushed 1y agoCompare

[ Source](https://github.com/digipolisgent/robo-drush)[ Packagist](https://packagist.org/packages/digipolisgent/robo-drush)[ RSS](/packages/digipolisgent-robo-drush/feed)WikiDiscussions develop Synced 1mo ago

READMEChangelogDependencies (3)Versions (26)Used By (1)

Robo Drush Extension
====================

[](#robo-drush-extension)

Extension to execute Drush commands in [Robo](https://github.com/Codegyre/Robo).

Runs Drush commands in stack. You can define global options for all commands (like Drupal root and uri).

The option -y assumed by default but can be overridden on calls to `exec()` by passing `false` as the second parameter.

Table of contents
-----------------

[](#table-of-contents)

- [Differences with upstream](#differences-with-upstream)
- [Installation](#installation)
- [Testing](#testing)
- [Usage](#usage)
- [Examples](#examples)

Differences with upstream
-------------------------

[](#differences-with-upstream)

This package was forked from [boedah/robo-drush](https://github.com/boedah/robo-drush). It adds the following changes:

- Adds support for PHP 8.1.
- Adds support for Drush 10, 11.
- Adds support for Robo 3, 4.
- Drops support for PHP 5.5, 5.6 and 7.0.

Installation
------------

[](#installation)

For new projects (and Robo &gt;= 1.0.0-RC1), just do:

```
composer require --dev boedah/robo-drush

```

For older versions of Robo, use:

- `~1.0`: Robo &lt;= 0.4.5
- `~2.1`: Robo &gt;= 0.5.2

Testing
-------

[](#testing)

`composer test`

Usage
-----

[](#usage)

Use the trait (according to your used version) in your RoboFile:

```
class RoboFile extends \Robo\Tasks
{
    // if you use robo-drush ~2.1 for Robo >=0.5.2, or robo-drush >3 for Robo >=1.0.0-RC1, or robo-drush form Robo >=2.0.0
    use \Boedah\Robo\Task\Drush\loadTasks;

    // if you use ~1.0 for Robo ~0.4
    use \Boedah\Robo\Task\Drush;

    //...
}
```

Examples
--------

[](#examples)

### Site update

[](#site-update)

This executes pending database updates and reverts all features (from code to database):

```
$this->taskDrushStack()
    ->drupalRootDirectory('/var/www/html/some-site')
    ->uri('sub.example.com')
    ->maintenanceOn()
    ->updateDb()
    ->revertAllFeatures()
    ->maintenanceOff()
    ->run();
```

### Site install

[](#site-install)

```
$this->taskDrushStack()
  ->siteName('Site Name')
  ->siteMail('site-mail@example.com')
  ->locale('de')
  ->accountMail('mail@example.com')
  ->accountName('admin')
  ->accountPass('pw')
  ->dbPrefix('drupal_')
  ->sqliteDbUrl('sites/default/.ht.sqlite')
  ->disableUpdateStatusModule()
  ->siteInstall('minimal')
  ->run();
```

###  Health Score

46

—

FairBetter than 93% of packages

Maintenance44

Moderate activity, may be stable

Popularity34

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity73

Established project with proven stability

 Bus Factor1

Top contributor holds 65.1% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~170 days

Recently: every ~483 days

Total

24

Last Release

439d ago

Major Versions

1.0.3 → 2.0.02015-01-25

2.2.1 → 3.0.02017-02-01

2.2.2 → 4.0.02018-09-11

4.2.2 → 5.0.02022-05-13

PHP version history (2 changes)1.0.0PHP &gt;=5.4.0

3.0.0PHP &gt;=5.5.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/fd0af1f056fd3baa2df55c0c745ade4d0f8af99505f717bf0ad48d7b615a2153?d=identicon)[Jelle-S](/maintainers/Jelle-S)

---

Top Contributors

[![boedah](https://avatars.githubusercontent.com/u/1183125?v=4)](https://github.com/boedah "boedah (56 commits)")[![Jelle-S](https://avatars.githubusercontent.com/u/1828542?v=4)](https://github.com/Jelle-S "Jelle-S (14 commits)")[![daften](https://avatars.githubusercontent.com/u/1221024?v=4)](https://github.com/daften "daften (10 commits)")[![prudloff-insite](https://avatars.githubusercontent.com/u/50333926?v=4)](https://github.com/prudloff-insite "prudloff-insite (2 commits)")[![jover](https://avatars.githubusercontent.com/u/433676?v=4)](https://github.com/jover "jover (1 commits)")[![MPParsley](https://avatars.githubusercontent.com/u/1823998?v=4)](https://github.com/MPParsley "MPParsley (1 commits)")[![pfrenssen](https://avatars.githubusercontent.com/u/442924?v=4)](https://github.com/pfrenssen "pfrenssen (1 commits)")[![greg-1-anderson](https://avatars.githubusercontent.com/u/612191?v=4)](https://github.com/greg-1-anderson "greg-1-anderson (1 commits)")

---

Tags

d09check22web

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/digipolisgent-robo-drush/health.svg)

```
[![Health](https://phpackages.com/badges/digipolisgent-robo-drush/health.svg)](https://phpackages.com/packages/digipolisgent-robo-drush)
```

###  Alternatives

[drush/drush

Drush is a command line shell and scripting interface for Drupal, a veritable Swiss Army knife designed to make life easier for those of us who spend some of our working hours hacking away at the command prompt.

2.4k57.4M685](/packages/drush-drush)[pantheon-systems/terminus

A command line interface for Pantheon

3391.5M13](/packages/pantheon-systems-terminus)[chromatic/usher

A collection of Robo commands for use on Chromatic projects.

13534.3k1](/packages/chromatic-usher)[openeuropa/task-runner

PHP task runner based on Robo, focused on extensibility.

37208.7k14](/packages/openeuropa-task-runner)[boedah/robo-drush

Drush CommandStack for Robo Task Runner

22344.5k4](/packages/boedah-robo-drush)[typhonius/acquia_cli

A Robo CLI tool for integrating with Acquia CloudAPI

3132.6k](/packages/typhonius-acquia-cli)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
