PHPackages                             dominionenterprises/chef - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [DevOps &amp; Deployment](/categories/devops)
4. /
5. dominionenterprises/chef

Abandoned → [traderinteractive/chef](/?search=traderinteractive%2Fchef)Library[DevOps &amp; Deployment](/categories/devops)

dominionenterprises/chef
========================

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

v3.0.1(3y ago)0685MITPHPPHP ^7.0 || ^8.0

Since Mar 6Pushed 3y ago21 watchersCompare

[ Source](https://github.com/traderinteractive/chef-php)[ Packagist](https://packagist.org/packages/dominionenterprises/chef)[ RSS](/packages/dominionenterprises-chef/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (1)Versions (11)Used By (0)

Chef
====

[](#chef)

[![Scrutinizer Code Quality](https://camo.githubusercontent.com/8758d3297069e67a90e02ec06ba98bd0c6f6c8344c492d3b9f14fcdb87674ca3/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f747261646572696e7465726163746976652f636865662d7068702f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/traderinteractive/chef-php/?branch=master)

[![Latest Stable Version](https://camo.githubusercontent.com/984894d5dfc457f9214e0695258c6f3d8efdaf3e3d0e1162ccde5d3ed8d1b40c/68747470733a2f2f706f7365722e707567782e6f72672f747261646572696e7465726163746976652f636865662f762f737461626c65)](https://packagist.org/packages/traderinteractive/chef)[![Latest Unstable Version](https://camo.githubusercontent.com/a780610c261ec097233322351fa98baf30131cae25dae5d7599af2ebded3266d/68747470733a2f2f706f7365722e707567782e6f72672f747261646572696e7465726163746976652f636865662f762f756e737461626c65)](https://packagist.org/packages/traderinteractive/chef)[![License](https://camo.githubusercontent.com/1411bcf126e5d827cb117026deaa0c6e3a248a7aacedb3b1e581228aefbb492f/68747470733a2f2f706f7365722e707567782e6f72672f747261646572696e7465726163746976652f636865662f6c6963656e7365)](https://packagist.org/packages/traderinteractive/chef)

[![Total Downloads](https://camo.githubusercontent.com/8d439373bbcafd1a421d3856791961ca322bd4fc6193b98c14457a09382ae4ba/68747470733a2f2f706f7365722e707567782e6f72672f747261646572696e7465726163746976652f636865662f646f776e6c6f616473)](https://packagist.org/packages/traderinteractive/chef)[![Daily Downloads](https://camo.githubusercontent.com/d5066456a29e61ab03f62df81f0d92cc29652bf3c265180e71faf81c0ce2816a/68747470733a2f2f706f7365722e707567782e6f72672f747261646572696e7465726163746976652f636865662f642f6461696c79)](https://packagist.org/packages/traderinteractive/chef)[![Monthly Downloads](https://camo.githubusercontent.com/0ec1cba019ffa13d4ad10d5619607f38b8603857f4e2b8b70a07d56c97e563d2/68747470733a2f2f706f7365722e707567782e6f72672f747261646572696e7465726163746976652f636865662f642f6d6f6e74686c79)](https://packagist.org/packages/traderinteractive/chef)

A PHP library that adds some functionality and support for knife-ec2.

Requirements
------------

[](#requirements)

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

Installation
------------

[](#installation)

This package uses [composer](https://getcomposer.org) so you can just add `traderinteractive/chef` as a dependency to your `composer.json` file.

Usage
-----

[](#usage)

### Chef API Wrapper

[](#chef-api-wrapper)

```
$chefEc2 = new TraderInteractive\Chef\ChefEc2(
    'bundle exec knife',
    $chefServer,
    [
        'chefClientName' => $chefClientName,
        'chefClientKey' => $chefClientKey,
        'awsAccessKeyId' => $awsId,
        'awsSecretAccessKey' => $awsSecret,
        'ec2SshUser' => $ec2SshUser,
        'ec2SshKey' => $sshKey,
    ]
);

$chefEc2->updateServers("role:{$roleToQuery}", null, [], ['--override-runlist' => "role[{$roleToExecute}]", '--no-color']);
```

Upgrading from old versions
---------------------------

[](#upgrading-from-old-versions)

Version 3.0 removed the class TraderInteractive\\Chef\\Chef. The interface was not compatible with PHP 7.

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community20

Small or concentrated contributor base

Maturity74

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~371 days

Recently: every ~786 days

Total

10

Last Release

1103d ago

Major Versions

v0.4.1 → v1.0.02016-08-08

v1.0.0 → v2.0.02018-03-05

v2.0.0 → v3.0.02018-12-12

PHP version history (5 changes)v0.1.0PHP &gt;=5.3.2

v0.4.0PHP ~5.4

v1.0.0PHP ~5.6 || ~7.0

v2.0.0PHP ^7.0

v3.0.1PHP ^7.0 || ^8.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/29952359?v=4)[Trader Interactive](/maintainers/traderinteractive)[@traderinteractive](https://github.com/traderinteractive)

---

Top Contributors

[![chadicus](https://avatars.githubusercontent.com/u/1182337?v=4)](https://github.com/chadicus "chadicus (16 commits)")[![nubs](https://avatars.githubusercontent.com/u/57673?v=4)](https://github.com/nubs "nubs (9 commits)")[![chrisryan](https://avatars.githubusercontent.com/u/704326?v=4)](https://github.com/chrisryan "chrisryan (4 commits)")[![dehernang](https://avatars.githubusercontent.com/u/7773473?v=4)](https://github.com/dehernang "dehernang (3 commits)")[![guywithnose](https://avatars.githubusercontent.com/u/1059169?v=4)](https://github.com/guywithnose "guywithnose (2 commits)")[![scrutinizer-auto-fixer](https://avatars.githubusercontent.com/u/6253494?v=4)](https://github.com/scrutinizer-auto-fixer "scrutinizer-auto-fixer (1 commits)")

---

Tags

ec2chefknife

### Embed Badge

![Health badge](/badges/dominionenterprises-chef/health.svg)

```
[![Health](https://phpackages.com/badges/dominionenterprises-chef/health.svg)](https://phpackages.com/packages/dominionenterprises-chef)
```

###  Alternatives

[deployer/deployer

Deployment Tool

11.0k25.4M206](/packages/deployer-deployer)[appwrite/server-ce

End to end backend server for frontend and mobile apps.

55.3k84.2k](/packages/appwrite-server-ce)[pragmarx/health

Laravel Server &amp; App Health Monitor and Notifier

2.0k1.0M2](/packages/pragmarx-health)[felixfbecker/language-server-protocol

PHP classes for the Language Server Protocol

22476.7M6](/packages/felixfbecker-language-server-protocol)[silinternational/ecs-deploy

Simple shell script for initiated blue-green deployments on Amazon Elastic Container Service (ECS)

2.0k7.2k](/packages/silinternational-ecs-deploy)[heroku/heroku-buildpack-php

Toolkit for starting a PHP application locally, with or without foreman, using the same config for PHP and Apache2/Nginx as on Heroku

8161.3M10](/packages/heroku-heroku-buildpack-php)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
