Skip to content

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

License

Notifications You must be signed in to change notification settings

dehernang/chef-php

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chef

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']);

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%