Popularity
5.8
Growing
Activity
1.1
Growing
636
37
145

Description

It was inspired by PuPHPet.

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

Code Quality Rank: L5
Programming language: PHP
License: MIT License
Latest version: v0.7.2

Phansible alternatives and similar libraries

Based on the "Development Environment" category.
Alternatively, view Phansible alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of Phansible or a related project?

Add another 'Development Environment' Library

README

Phansible

Build Status Scrutinizer Code Quality Code Coverage License

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

  • Deprecate 1.0 branch and put master into production
  • CI our generated roles (@naxhh is working on this)
  • API for generating roles outside the Web (@erikaheidi is working on this)
  • New technologies (request for your favourite ones!)
  • More documentation on how to customize things
  • 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!


*Note that all licence references and agreements mentioned in the Phansible README section above are relevant to that project's source code only.