Multi-framework PHP development environment.
- VirtualBox 4.0 or higher
- Vagrant 1.6.0 or higher
- a machine with at least 4GB of memory and 2 Cores
Windows users:
- 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
- set
VBoxManage.exe
compatibility mode toWindows 8
- apply this NDIS6 solution to fix
VERR_INTNET_FLT_IF_NOT_FOUND
error
A 64-bit virtual machine running Ubuntu 14.04.1 LTS with a lot of useful software and features.
git clone https://github.com/alt3/cakebox.git
cd cakebox
cp Cakebox.yaml.default Cakebox.yaml
vagrant up
Note: the initial download of the (~2GB) box image could take some time so please be patient.
Once provisioning has completed you are ready to:
- Create your first website
- Login to your Virtual Machine using the
vagrant ssh
command - Login to your Cakebox Dashboard by browsing to http://10.33.10.10
Full documentation found here.
Create fully preconfigured applications, databases and virtual hosts directly from the command line. Currently supports:
- CakePHP 2/3
- Laravel 5
- Git
- Composer
# 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.