Framework agnostic virtual PHP development environment.
What do you get?
Documentation found here.
- are strongly advised to use the Git Bash for documented commands
- may need to enable hardware virtualization (VT-x)
Windows 10 users must additionally:
- use latest VirtualBox and Vagrant
VBoxManage.execompatibility mode to
- apply this NDIS6 solution to fix
Please 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:
- log in to your box (now running Ubuntu 14.04 and PHP 5.6)
- upgrade your box to Ubuntu 16.04 LTS and PHP 7.1 or PHP 7.2 by running:
vagrant ssh /cakebox/bash/ubuntu-16.sh exit vagrant reload
Once provisioning has completed you are ready to:
- Create your first website
- Login to your Virtual Machine using the
- Login to your Cakebox Dashboard by browsing to http://10.33.10.10
Command Line Provisioning
Create fully preconfigured applications, databases and virtual hosts directly from the command line. Currently supports:
- CakePHP 2/3
- Laravel 5
# 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@example.com: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.