Skip to content

Phansible - generate Vagrant + Ansible dev environments for PHP

License

Notifications You must be signed in to change notification settings

sndpl/phansible

 
 

Repository files navigation

Phansible

![Gitter](https://badges.gitter.im/Join Chat.svg)

Build Status Coverage Status Scrutinizer Code Quality

Phansible is a simple generator for Vagrant projects, targeting PHP development environments, using Ansible as Provisioner.

It was inspired by PuPHPet.

The project is built on top of Silex, using Flint.

Contributions

Contributions are always welcome, please have a look at our issues to see if there's something you could help with. You can also join us on gitter.

TO DO

  • More customization options
  • More packages to choose from and option to add custom packages
  • More documentation
  • More Tests
  • Take a look at our issues.

Setup

  • Clone the repo: git clone https://github.com/Phansible/phansible.git
  • Go into the phansible folder cd phansible/
  • Install the dependencies with composer: php composer install
  • Run the php built in server: php -S 0.0.0.0:8080 -t web/
  • You can now go on http://localhost:8080 to see your modification.

As an alternative, you can also use the included Vagrant setup (requires Ansible).

Tests

To run the tests just do:

 ./vendor/bin/phpunit

Code style

To check the code style just do:

 ./vendor/bin/phpcs --standard=psr2 ./src
 ./vendor/bin/phpmd src/ text codesize,controversial,design,naming,unusedcode

When no errors appear you are ready to push your commits!

About

Phansible - generate Vagrant + Ansible dev environments for PHP

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 46.5%
  • CSS 29.7%
  • JavaScript 21.9%
  • Other 1.9%