A PHP tool that allows users to automatically prepare project directories for using it with a DrupalVM.
- Linux-based OS(tested on Ubuntu and macOS)
- Vagrant
- VirtualBox
- Ansible
- Vagrant plugins:
hostsupdater (
vagrant plugin install vagrant-hostsupdater) auto_network (vagrant plugin install vagrant-auto_network) - PHP 5.6+
- Composer
composer global require valentine94/vmgen-php
From command line interface run the following command:
vmgen-php --php=PHP_VERSION --project-name=PROJECT_NAME
for example:
vmgen-php --php=7 --project-name=my_new_project
The tool will create your project directory at
$HOME/projects/PROJECT_NAME
Use vmgen-php --help to see more info about params and usage.