PHPackages                             boedah/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. boedah/robo-drush

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

boedah/robo-drush
=================

Drush CommandStack for Robo Task Runner

5.0.0(3mo ago)22344.5k↓26.1%18[1 issues](https://github.com/boedah/robo-drush/issues)4MITPHPPHP &gt;=8.2CI passing

Since Jun 6Pushed 3mo ago5 watchersCompare

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

READMEChangelog (10)Dependencies (3)Versions (21)Used By (4)

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

[](#robo-drush-extension)

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

[![Latest Stable Version](https://camo.githubusercontent.com/31191677e92c8a3e3fc3816736822f60158d5e9d5a2762695c7f27e27cb84378/687474703a2f2f706f7365722e707567782e6f72672f626f656461682f726f626f2d64727573682f76)](https://packagist.org/packages/boedah/robo-drush) [![Total Downloads](https://camo.githubusercontent.com/f3a722f8f5d95ef4c9354112f0c3605ecc516aef6bbe03bbdd44c4cd0ea2dab6/687474703a2f2f706f7365722e707567782e6f72672f626f656461682f726f626f2d64727573682f646f776e6c6f616473)](https://packagist.org/packages/boedah/robo-drush) [![PHP Version Require](https://camo.githubusercontent.com/6e78d9472dbdd2afe7fc58344a9a1ba72d5cab584eec24704473bf6bf425a0b8/687474703a2f2f706f7365722e707567782e6f72672f626f656461682f726f626f2d64727573682f726571756972652f706870)](https://packagist.org/packages/boedah/robo-drush)

[![PHP tests](https://github.com/boedah/robo-drush/actions/workflows/php-tests.yml/badge.svg)](https://github.com/boedah/robo-drush/actions/workflows/php-tests.yml) [![License](https://camo.githubusercontent.com/313027b7abe4c4a1c6fd363e3da97d538ef6187c05d6b6cb133dfd1bdbe8ce2f/687474703a2f2f706f7365722e707567782e6f72672f626f656461682f726f626f2d64727573682f6c6963656e7365)](https://packagist.org/packages/boedah/robo-drush)

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

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

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

[](#table-of-contents)

- [Installation](#installation)
- [Testing](#testing)
- [Usage](#usage)
- [Examples](#examples)

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

[](#installation)

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

Testing
-------

[](#testing)

`composer test`

Usage
-----

[](#usage)

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

```
class RoboFile extends \Robo\Tasks
{
    use \Boedah\Robo\Task\Drush\Tasks;
}
```

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

62

—

FairBetter than 99% of packages

Maintenance80

Actively maintained with recent releases

Popularity44

Moderate usage in the ecosystem

Community25

Small or concentrated contributor base

Maturity85

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 86% 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 ~224 days

Recently: every ~771 days

Total

20

Last Release

102d 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.0 → 5.0.02026-02-05

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

3.0.0PHP &gt;=5.5.0

5.0.0PHP &gt;=8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/9e39d2db3bd53893f6972e4be4ea585ad4d983b86027675c49baf7993baa1d78?d=identicon)[boedah](/maintainers/boedah)

---

Top Contributors

[![boedah](https://avatars.githubusercontent.com/u/1183125?v=4)](https://github.com/boedah "boedah (80 commits)")[![daften](https://avatars.githubusercontent.com/u/1221024?v=4)](https://github.com/daften "daften (10 commits)")[![greg-1-anderson](https://avatars.githubusercontent.com/u/612191?v=4)](https://github.com/greg-1-anderson "greg-1-anderson (1 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)")

---

Tags

drupaldrushphprobotask-runner

### Embed Badge

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

```
[![Health](https://phpackages.com/badges/boedah-robo-drush/health.svg)](https://phpackages.com/packages/boedah-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)[typhonius/acquia_cli

A Robo CLI tool for integrating with Acquia CloudAPI

3132.6k](/packages/typhonius-acquia-cli)[joomla-projects/jorobo

Tools and Tasks based on Robo.li for Joomla Extension Development and Releases

1146.6k1](/packages/joomla-projects-jorobo)

PHPackages © 2026

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