Framework agnostic virtual PHP Development Environment
Framework agnostic virtual PHP development environment.
A 64-bit virtual machine running Ubuntu with PHP and a lot of useful software and features.
Documentation found here.
Windows users:
Windows 10 users must additionally:
VBoxManage.exe
compatibility mode to Windows 8
VERR_INTNET_FLT_IF_NOT_FOUND
errorPlease note: that the initial download of the (~2GB) box image will take some time.
git clone https://github.com/alt3/cakebox.git
cd cakebox
cp Cakebox.yaml.default Cakebox.yaml
vagrant plugin install vagrant-vbguest
vagrant up
After the installation has completed you may either:
vagrant ssh
/cakebox/bash/ubuntu-16.sh
exit
vagrant reload
Once provisioning has completed you are ready to:
vagrant ssh
commandCreate fully preconfigured applications, databases and virtual hosts directly from the command line. Currently supports:
# Fresh preconfigured PHP framework applications
$ cakebox application add mycake3.app
$ cakebox application add mycake2.app --majorversion 2
$ cakebox application add mylaravel.app --framework laravel
# Git or Composer applications (both public and private)
$ cakebox application add mypublic.app --source http://github.com/your-name/repository
$ cakebox application add myprivate.app --source [email protected]:your-name/repository.git
$ cakebox application add myyii.app --source yiisoft/yii2-app-basic
# Databases and virtual hosts
$ cakebox database add holiday2015
$ cakebox vhost add idea.com /var/www/some-idea
Comes with a dashboard for your convenience.