This package is abandoned and no longer maintained. The author suggests using the traderinteractive/chef package instead.

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

v2.0.0 2018-03-05 16:21 UTC

README

Scrutinizer Code Quality

Latest Stable Version Latest Unstable Version License

Total Downloads Daily Downloads Monthly Downloads

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 traderinteractive/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 TraderInteractive\Chef\Chef($chefApi);
$chef->patchDatabag('data', 'item', ['url' => 'http://example.com']);