Vagrant box for Symfony2 development.
Download and install VirtualBox
Download and install vagrant
Download and install Vagrant::Hostsupdater
Clone this repository
Go to the repository folder and install Symfony2 under symfony directory
$ cd [repo]
$ cd symfony
$ composer create-project symfony/framework-standard-edition .
Launch the box
$ cd ..
$ vagrant up
- Apache
- MySQL
- PHP 5.4 with intl, apc and curl
- Composer
/vagrant/symfony
folder is symlinked as /var/www
and there is a default vhost configured pointing to /vagrant/symfony/web
.
MySQL is available from localhost. There is already an empty database named vagrant
, accessible by user vagrant
with password vagrant
.
Composer binary is installed globally (to /usr/local/bin/composer
), so you can simply call composer
from any directory.