This repository is outdated and not maintained anymore ( we have docker now :) )
Vagrant 1.6.3 Symfony2 Development box with Nginx and PHP 5.5
Installation
this box is only tested with ubuntu precise 64 bit
- Install vagrant version 1.6.3 using the installation instructions in the Getting Started document
- Add a Ubuntu Precise box using the available official boxes, for example:
vagrant box add phpdevbox http://files.vagrantup.com/precise64.box
- Clone this repository
- Install submodules with
git submodule update --init
- After running
vagrant up
the box is set up using Puppet - Webserver should be available under http://localhost:1337
- for special symfony2 settings please edit nginx conf files in files/nginx/
Installed components
- Nginx using puppet module (https://github.com/example42/puppet-nginx)
- php5.5-fpm
- composer
- git
- pear
- Node.js
- npm
- less
- MySQL
- MongoDB
- Capistrano
- capifony
- sass
- compass
- Most of the phpqatools using puppet module (https://github.com/rafaelfelix/puppet-phpqatools)
Composer
Composer is installed globally. Just run composer command in your cli.
$ composer self-update
Debugging
If you want to debug your cli application using xdebug for example with Phpstorm just run this command before executing the cli app:
.. code-block:: sh
$ export XDEBUG_CONFIG="idekey=phpstorm-xdebug remote_host=192.168.33.1 profiler_enable=1 default_enable=1 remote_enable=1 remote_handler=dbgp remote_port=9000 remote_autostart=0"
TODO
- switch between apache and nginx
- detailed vhost configuration with hostnames
- add more php extensions