Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/phansible/phansible
Phansible - generate Vagrant + Ansible dev environments for PHP
https://github.com/phansible/phansible
ansible hacktoberfest php vagrant
Last synced: 26 days ago
JSON representation
Phansible - generate Vagrant + Ansible dev environments for PHP
- Host: GitHub
- URL: https://github.com/phansible/phansible
- Owner: phansible
- License: mit
- Created: 2014-01-29T20:36:42.000Z (almost 11 years ago)
- Default Branch: main
- Last Pushed: 2024-09-09T20:53:53.000Z (about 2 months ago)
- Last Synced: 2024-09-30T23:43:10.675Z (about 1 month ago)
- Topics: ansible, hacktoberfest, php, vagrant
- Language: PHP
- Homepage: http://phansible.com
- Size: 2.2 MB
- Stars: 635
- Watchers: 37
- Forks: 144
- Open Issues: 28
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# Phansible
[![Build Status](https://img.shields.io/travis/phansible/phansible/master.svg?style=flat-square)](https://travis-ci.com/phansible/phansible)
[![Scrutinizer Code Quality](https://img.shields.io/scrutinizer/g/phansible/phansible/master.svg?style=flat-square)](https://scrutinizer-ci.com/g/phansible/phansible/?branch=master)
[![Code Coverage](https://img.shields.io/scrutinizer/coverage/g/phansible/phansible/master.svg?style=flat-square)](https://scrutinizer-ci.com/g/phansible/phansible/?branch=master)
[![License](https://img.shields.io/github/license/phansible/phansible.svg?style=flat-square)](https://github.com/phansible/phansible)[Phansible](http://phansible.com) is a simple generator for Vagrant projects, targeting PHP development environments, using Ansible as Provisioner.
It was inspired by [PuPHPet](http://puphpet.com).
The project is built on top of [Silex](http://silex.sensiolabs.org/), using [Flint](http://flint.readthedocs.org/).
## 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](https://gitter.im/phansible/phansible).## 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](https://github.com/phansible/phansible/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](https://getcomposer.org/): ```php composer install```
- Run the php built in server: ```php -S 0.0.0.0:8080 -t public/```
- You can now go on [http://localhost:8080](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!