A PHP library that wraps jenssegers/php-chef and adds some functionality and support for knife-ec2.
The knife-ec2 integration depends on the knife-ec2 commands being available.
This package uses composer so you can just add dominionenterprises/chef
as a dependency to your composer.json
file.
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']);