GithubHelp home page GithubHelp logo

ryanlfoster / phansible Goto Github PK

View Code? Open in Web Editor NEW

This project forked from phansible/phansible

0.0 1.0 0.0 2.84 MB

Phansible - generate Vagrant + Ansible dev environments for PHP

Home Page: http://phansible.com

License: MIT License

Smarty 18.48% Shell 1.31% PHP 30.19% Ruby 0.65% HTML 15.38% CSS 19.57% JavaScript 14.42%

phansible's Introduction

Phansible

![Gitter](https://badges.gitter.im/Join Chat.svg) Build Status Scrutinizer Code Quality Code Coverage HHVM 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!

phansible's People

Contributors

bicpi avatar cordoval avatar erikaheidi avatar faabiosr avatar fideloper avatar heiglandreas avatar henrikbjorn avatar iambrosi avatar infog avatar janimatti avatar jeremykendall avatar kristofvc avatar leafnode avatar lombartec avatar mikesimonson avatar mrkrstphr avatar navarr avatar naxhh avatar pborreli avatar rdohms avatar renan avatar renatomefi avatar rogeriopradoj avatar rtuin avatar ruigomeseu avatar ruudk avatar samvdb avatar seldaek avatar stefanvangastel avatar wyrihaximus avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.