PHPackages                             dockerdrupal/cli - 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. dockerdrupal/cli

Abandoned → [drudock/cli](/?search=drudock%2Fcli)Project[CLI &amp; Console](/categories/cli)

dockerdrupal/cli
================

DruDock Cli

1.3.3(9y ago)2137[33 issues](https://github.com/4AllDigital/DruDockCli/issues)[5 PRs](https://github.com/4AllDigital/DruDockCli/pulls)MITPHPPHP ^5.5|~7.0

Since Sep 13Pushed 4y ago3 watchersCompare

[ Source](https://github.com/4AllDigital/DruDockCli)[ Packagist](https://packagist.org/packages/dockerdrupal/cli)[ Docs](https://www.4alldigital.io/docker-drupal/)[ RSS](/packages/dockerdrupal-cli/feed)WikiDiscussions master Synced 4w ago

READMEChangelog (10)Dependencies (22)Versions (69)Used By (0)

[![DruDock Logo](https://camo.githubusercontent.com/15549be8185ea176c6122c38740d609e9fda69373cbff971c53b5dcbf00d62b5/68747470733a2f2f73332e65752d776573742d322e616d617a6f6e6177732e636f6d2f647275646f636b2f447275446f636b4c6f676f2e6a7067)](https://camo.githubusercontent.com/15549be8185ea176c6122c38740d609e9fda69373cbff971c53b5dcbf00d62b5/68747470733a2f2f73332e65752d776573742d322e616d617a6f6e6177732e636f6d2f647275646f636b2f447275446f636b4c6f676f2e6a7067)

[DruDock](https://www.4alldigital.io/drudock) is Docker based development, staging and production environment for Drupal websites or PHP apps.

[![Latest Stable Version](https://camo.githubusercontent.com/4f6f6698aaeed4ce9d5c7a3e5c840946f2bb8538ede3b027e2e524c02a9a13d3/68747470733a2f2f706f7365722e707567782e6f72672f647275646f636b2f636c692f762f737461626c65)](https://packagist.org/packages/drudock/cli)[![License](https://camo.githubusercontent.com/321c524e6ebf1e7d24631aa3e578ea82481d6db3e383dff070a47b6daca62feb/68747470733a2f2f706f7365722e707567782e6f72672f647275646f636b2f636c692f6c6963656e7365)](https://packagist.org/packages/drudock/cli)[![composer.lock](https://camo.githubusercontent.com/628db21191e00d9468461b303e187e05e2edc6b109bd307ecf5e224cc4a54b1a/68747470733a2f2f706f7365722e707567782e6f72672f647275646f636b2f636c692f636f6d706f7365726c6f636b)](https://packagist.org/packages/drudock/cli)

[![Build Status](https://camo.githubusercontent.com/52715bae254c6e76b9549c05234e4773f25b7278003ee9337dcc47e6aebe4b66/68747470733a2f2f7472617669732d63692e6f72672f34416c6c4469676974616c2f447275446f636b436c692e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/4AllDigital/DruDockCli)[![Gitter](https://camo.githubusercontent.com/abe08b740a4156153736f791393ec4da6619c4be73212e75769f52edacc0e2b5/68747470733a2f2f6261646765732e6769747465722e696d2f4a6f696e253230436861742e737667)](https://gitter.im/DruDockCli/Lobby?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)

DruDock-Cli - BETA
==================

[](#drudock-cli---beta)

### CLI utility for DruDock

[](#cli-utility-for-drudock)

Install and setup Docker

- Mac :  : [*download*](https://store.docker.com/editions/community/docker-ce-desktop-mac)
    - NB: Currently limited to EDGE version for latest :cached performance gains. ()
- Windows : [*download*](https://store.docker.com/editions/community/docker-ce-desktop-windows)
- Linux
    - Ubuntu : [*download*](https://store.docker.com/editions/community/docker-ce-server-ubuntu)
    - Centos : [*download*](https://store.docker.com/editions/community/docker-ce-server-centos)

### Minimum Requirements :

[](#minimum-requirements-)

- Host OS must have PHP ^5.6

### Questions?

[](#questions)

Ping me on [Twitter](http://twitter.com/@4alldigital)

### DOCS - @TODO

[](#docs---todo)

Read more -

### Install via .phar

[](#install-via-phar)

- Install DruDock globally.

```

curl -O http://d1gem705zq3obi.cloudfront.net/drudock.phar && \
mv drudock.phar /usr/local/bin/drudock && \
chmod +x /usr/local/bin/drudock && \
drudock

```

Status
======

[](#status)

Initial Commands structure
--------------------------

[](#initial-commands-structure)

```
  Available commands:
    help                   Displays help for a command
    list                   Lists commands
   app
    app:bash               [ab] Bash into container
    app:build              [ab] Fetch and build App containers and resources.
    app:destroy            [ad] Disable and delete APP and containers
    app:exec               [ae] Execute bespoke commands at :container
    app:init               [ai] Fetch and build DruDock containers
    app:init:build         [aib] Initialize environment and run build.
    app:init:containers    [aic] Create APP containers
    app:open               [ao] Open APP in default browser.
    app:restart            [ar] Restart current APP containers
    app:ssh                [assh] SSH into Apps PHP container.
    app:start              [start] Start current APP containers
    app:status             [as] Get current status of all containers
    app:stop               [stop] Stop current APP containers
    app:update:config      [aucg] Update APP config
    app:update:containers  [auct] Update APP containers
    app:update:services    [aus] Update APP services
   behat
    behat:cmd              Run behat commands
    behat:monitor          Launch behat VNC viewer
    behat:status           Runs example command against running APP and current config
   drush
    drush:cc               [dcc] Run drush cache clear
    drush:cex              [dcex] Run drush config-export
    drush:cim              [dcim] Run drush config-import
    drush:dis              [dd] Disable/Uninstall Drupal module
    drush:en               [de] Enable Drupal module
    drush:init:config      [dicg] Run drush config init
    drush:rr               [drr] Run drush registry rebuild
    drush:uli              [duli] Run Drush ULI
    drush:updb             [dudb] Run Drush updb
   mysql
    mysql:export           Export .sql files
    mysql:import           Import .sql files
    mysql:log              Monitor mysql activity
   nginx
    nginx:flush            Flush nginx cache
    nginx:log              Monitor nginx activity
    nginx:proxy:start      Start nginx proxy
    nginx:proxy:stop       Stop nginx proxy
    nginx:reload           Reload nginx activity
    nginx:sethost          Add nginx host to DD and host OS
   prod
    prod:update            Rebuild app and deploy latest code into app containers
   redis
    redis:flush            Flush Redis cache
    redis:info             Get Redis running config information
    redis:monitor          Monitor redis activity
    redis:ping             Ping Redis
   self
    self:about             [about] About DruDock
    self:update            [su] Update Drudock version to latest released version.

```

Example Commands
----------------

[](#example-commands)

```
      --------------
      :$ drudock app:init --appname defaultapp --type DEFAULT --dist Development --src New --apphost drudock.localhost --services "PHP,NGINX,MYSQL"
      :$ cd my-great-app && drudock build:init
      --------------

```

#### DEV Drupal 8

[](#dev-drupal-8)

```
      --------------
      :$ drudock app:init:build --appname my-app --type D8 --dist Development --src New --apphost drudock.localhost --services "PHP,NGINX,MYSQL"
      :$ cd my-drupal8-site && drudock build:init
      --------------

```

#### DEV Drupal 7

[](#dev-drupal-7)

```
      --------------
      :$ drudock app:init:build --appname my-app --type D7 --dist Development --src New --apphost drudock.localhost --services "PHP,NGINX,MYSQL"
      :$ cd my-drupal7-site && drudock build:init
      --------------

```

### Next step :

[](#next-step-)

- More utility commands and USER feedback For more information see [roadmap](https://github.com/4AllDigital/DruDockCli/blob/master/roadmap.md)

### Known issues

[](#known-issues)

1. Its not finished - still in alpha and requires community testing and feedback.

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity73

Established project with proven stability

 Bus Factor1

Top contributor holds 91% 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 ~12 days

Recently: every ~59 days

Total

61

Last Release

2848d ago

PHP version history (3 changes)1.0.0PHP ^5.5

1.0.8PHP &gt;=5.5.9

1.2.1PHP ^5.5|~7.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/22122099?v=4)[4AllDigital](/maintainers/4alldigital)[@4AllDigital](https://github.com/4AllDigital)

---

Top Contributors

[![joemewes](https://avatars.githubusercontent.com/u/1431101?v=4)](https://github.com/joemewes "joemewes (363 commits)")[![mediaashley](https://avatars.githubusercontent.com/u/3678983?v=4)](https://github.com/mediaashley "mediaashley (26 commits)")[![jnpwebdeveloper](https://avatars.githubusercontent.com/u/1742908?v=4)](https://github.com/jnpwebdeveloper "jnpwebdeveloper (7 commits)")[![aleach](https://avatars.githubusercontent.com/u/692535?v=4)](https://github.com/aleach "aleach (2 commits)")[![tomgould](https://avatars.githubusercontent.com/u/2184092?v=4)](https://github.com/tomgould "tomgould (1 commits)")

---

Tags

cli-utilitydockerdocker-composedrupalsymfony-consoleconsolesymfonydrupaldevelopmentdocker

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/dockerdrupal-cli/health.svg)

```
[![Health](https://phpackages.com/badges/dockerdrupal-cli/health.svg)](https://phpackages.com/packages/dockerdrupal-cli)
```

###  Alternatives

[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.4M196](/packages/sulu-sulu)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

585.4M524](/packages/shopware-core)[open-dxp/opendxp

Content &amp; Product Management Framework (CMS/PIM)

9417.2k55](/packages/open-dxp-opendxp)[drupal/core-recommended

Locked core dependencies; require this project INSTEAD OF drupal/core.

6941.5M396](/packages/drupal-core-recommended)[drupal/core

Drupal is an open source content management platform powering millions of websites and applications.

19664.8M1.6k](/packages/drupal-core)[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.5k5.8M712](/packages/sylius-sylius)

PHPackages © 2026

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