PHPackages                             leaseweb/chefauth-guzzle-plugin - 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. [HTTP &amp; Networking](/categories/http)
4. /
5. leaseweb/chefauth-guzzle-plugin

ActiveLibrary[HTTP &amp; Networking](/categories/http)

leaseweb/chefauth-guzzle-plugin
===============================

A guzzle plugin handling all authentication for Chef server API.

2.1.0(5y ago)26.4k↓70%21MITPHPPHP &gt;=7.0.0

Since Mar 23Pushed 5y ago4 watchersCompare

[ Source](https://github.com/LeaseWeb/chefauth-guzzle-plugin)[ Packagist](https://packagist.org/packages/leaseweb/chefauth-guzzle-plugin)[ Docs](http://www.leaseweblabs.com)[ RSS](/packages/leaseweb-chefauth-guzzle-plugin/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (1)Versions (6)Used By (1)

leaseweb/chefauth-guzzle-plugin
===============================

[](#leasewebchefauth-guzzle-plugin)

A guzzle middleware handling all authentication for Chef server API.

requirements
------------

[](#requirements)

- PHP 7.0
- Guzzle 7

installation
------------

[](#installation)

First you need Guzzle, offcourse.

Add the `leaseweb/chefauth-guzzle-plugin` as a dependency to your project:

```
$ php composer.phar require "leaseweb/chefauth-guzzle-plugin":"2.0.0"

```

Composer will install the plugin to your project's vendor/leaseweb directory.

You are now ready to use the plugin.

usage
-----

[](#usage)

Create a new guzzle client pointing to your chef server:

```
