https://github.com/ericclemmons/vagrant-php
Instantly setup & launch PHP5.x Vagrant machine
https://github.com/ericclemmons/vagrant-php
Last synced: about 1 year ago
JSON representation
Instantly setup & launch PHP5.x Vagrant machine
- Host: GitHub
- URL: https://github.com/ericclemmons/vagrant-php
- Owner: ericclemmons
- License: mit
- Created: 2013-01-10T03:46:53.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2013-01-10T15:58:16.000Z (over 13 years ago)
- Last Synced: 2025-04-06T07:15:42.310Z (about 1 year ago)
- Language: PHP
- Size: 123 KB
- Stars: 2
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
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][3] (`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
-------
- [Eric Clemmons][1]
License
-------
MIT
[1]: https://github.com/ericclemmons
[2]: https://github.com/seiffert
[3]: http://www.vagrantup.com/
[4]: http://getcomposer.org/download/