A library that wraps jenssegers/php-chef and adds some functionality and support for knife-ec2.

Installs: 43

Dependents: 0

Watchers: 22

Forks: 3

Language: PHP

v0.4.1 2014-09-18 15:47 UTC

README

Scrutinizer Code Quality

Latest Stable Version Total Downloads License

A PHP library that wraps jenssegers/php-chef and adds some functionality and support for knife-ec2.

Requirements

The knife-ec2 integration depends on the knife-ec2 commands being available.

Installation

This package uses composer so you can just add dominionenterprises/chef as a dependency to your composer.json file.

Usage

Chef API Wrapper

Once you've created a chef API client using [jenssegers/php-chef], you can instantiate the wrapper and perform actions. For example:

$chef = new \DominionEnterprises\Chef\Chef($chefApi);
$chef->patchDatabag('data', 'item', ['url' => 'http://example.com']);