siewwp/php-hmac-http

Guzzle http client with hmac authentication middleware

Maintainers

Package info

github.com/siewwp/php-hmac-http

pkg:composer/siewwp/php-hmac-http

Statistics

Installs: 308

Dependents: 2

Suggesters: 0

Stars: 0

Open Issues: 0

v1.1.2 2018-07-30 08:12 UTC

This package is not auto-updated.

Last update: 2026-03-01 13:21:10 UTC


README

Usage

Providing the key on constructor

$key = Acquia\Hmac\Key($appId, $appSecret);

$client = new \Siewwp\HmacHttp\HttpClient($options, $key);

// your usual guzzle stuff

Providing the key using key setter

$client = new \Siewwp\HmacHttp\HttpClient($options, $key);

$key = Acquia\Hmac\Key($appId, $appSecret);

$client->setKey($key);

// your usual guzzle stuff