Skip to content
This repository has been archived by the owner. It is now read-only.
A CLI app for Drupal VM.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
config/dist Add build_composer and build_composer_project defaults Oct 5, 2016
src Fix extra_packages, add test Jul 23, 2017
templates Allow for setting the Drush version Mar 18, 2017
tests/Command PSR-2 Aug 22, 2017
.editorconfig Add editorconfig file Feb 8, 2017
.gitignore Remove composer.lock Jan 27, 2017
LICENCE Create LICENCE Feb 10, 2016 Fix badges, update old project name references Apr 28, 2017
composer.json Add Pimple container Feb 8, 2017
drupalvm Re-add drupalvm.php Feb 8, 2017
drupalvm.php Add Pimple container Feb 8, 2017
phpunit.xml Add ConfigFile class, refactor GenerateCommand Jul 23, 2017

Drupal VM CLI

Latest Stable Version License Build Status

A Symfony Console application that manages and customises configuration files for Drupal VM projects.




With the drupalvm command installed, you can now run it to generate your configuration file.

Each variable configurable with the application has an option that you can set when running the command.

Here is an example with all of the options set beforehand:

drupalvm config:generate \ \
  --machine-name=example \
  --ip-address= \
  --cpus=1 \
  --memory=512 \
  --webserver=nginx \
  --path=../site \
  --destination=/var/www/site \
  --docroot=/var/www/site/drupal \
  --drupal-version=8 \
  --database-name=drupal \
  --database-user=drupal \
  --database-password=drupal \
  --build-makefile=no \
  --install-site=true \
  --installed-extras=xdebug,xhprof \

If an option is not set, you will be asked a question instead to collect the value.


Oliver Davies - PHP Developer & Linux System Administrator


I’m happy to receive support and feature requests, bug reports, and pull requests torwards this project.

All bug reports and feature and support requests should be logged in the issue tracker.

Please run drupalvm --version and include the version number with any bug report or support request.

All pull requests should be from a topic branch in your forked repository, merging back into master.

You can’t perform that action at this time.