siewwp/php-hmac-http

Guzzle http client with hmac authentication middleware

Installs: 308

Dependents: 2

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/siewwp/php-hmac-http

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

This package is not auto-updated.

Last update: 2025-10-12 11:31:50 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