Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
attributes
files/default
recipes
spec
templates/default
.gitignore
.kitchen.yml
.rspec
.rubocop.yml
.travis.yml
Berksfile
CHANGELOG.md
Gemfile
Guardfile
LICENSE
README.md
Rakefile
metadata.rb

README.md

Description

This cookbook's goal is to provide the best and dead simple way to start new web application project based on php.

Build Status Dependency Status Code Climate Coverage Status

Containing following

Category Application
Documentation Generator sphinx
Class Document Generator phpdoc
Package Manager composer
QA Tools phpcs, phpunit, phpmd, phpdepend, phpcpd, phploc, phpcb

Requirements

  • Chef: 11.x+
  • Ruby: 1.9+

Default URL

Application URL
sphinx http://sphinx.local/
phpdoc http://phpdoc.local/

Attributes

Usage

How to use in a recipe

include_recipe 'boilerplate_php'

Configuration

Install sphinx, phpdoc into example.com

$ cat nodes/example.json
{
    "boilerplate_php": {
        "sphinx": {
            "host": "example.com",
        },
        "phpdoc": {
            "host": "example.com",
        }
    }
}

Stop installing specific applicaiton

Stop installing sphinx

$ cat nodes/example.json
{
    "boilerplate": {
        "sphinx": false
    }
}

License and Authors

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.