ericclemmons / vagrant-php

Instantly setup & launch PHP5.x Vagrant machine

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

vagrant-php

Instead of polluting your local machine with several compiled versions of PHP, Apache, Nginx, or M/XAMP, create a local sandbox for your project running the same PHP environment TravisCI uses!

THIS REPOSITORY IS CURRENTLY BEING PORTED FROM [ECVagrantBundle][https://github.com/ericclemmons/ECVagrantBundle]

Dependencies

  • Composer (curl -s https://getcomposer.org/installer | php)

Installation

Add vagrant-php to an existing project:

$ cd /existing/php/project
$ composer require ericclemmons/vagrant-php --dev

(You may specify * as the version, if you want to always use the latest version.)

Usage

Run the command interactively and answer the prompts:

$ ./bin/vagrant-php create

Welcome to the Symfony2 Vagrant generator
...

Or provide the options at once:

$ ./bin/vagrant-php create  \
    --no-interaction        \
    --host=vagrant          \
    --ip=10.33.33.33        \
    --url=http://files.vagrantup.com/lucid32.box

A Vagrantfile will be generated in your current working directory. Now you're ready to work!

$ vagrant up
$ vagrant ssh

Authors

License

MIT

About

Instantly setup & launch PHP5.x Vagrant machine

License:MIT License


Languages

Language:PHP 96.1%Language:Ruby 3.9%