Registry / auth / acquia-http-hmac-php

acquia-http-hmac-php

JSON →
library6.1.2phppackagistunverified

An implementation of the HTTP HMAC Spec in PHP that integrates with popular libraries such as Symfony and Guzzle.

composer require acquia/http-hmac-php
INSTALL
IMPORT
SIG · ACQUIA-HTTP-HMAC-P
A
acquia-http-hmac-php
authphpv6.1.2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

HmacAuthMiddleware
use Acquia\Hmac\Guzzle\HmacAuthMiddleware;

Create a Guzzle client with HMAC authentication

use Acquia\Hmac\Guzzle\HmacAuthMiddleware; use GuzzleHttp\Client; use GuzzleHttp\HandlerStack; $stack = HandlerStack::create(); $stack->push(new HmacAuthMiddleware('key', 'secret')); $client = new Client(['handler' => $stack]); $response = $client->get('https://api.example.com/resource');
Debug
Known issues
breakingRequires PHP 8.0+
fix
Upgrade PHP to 8.0 or later
affects: <6.0.0
Upgrade
Version history
6.1.2latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
56 hits · last 30 days
node
46
Perplexity
1
OpenAI (training)
1
Resources
acquia-http-hmac-php — pip install acquia-http-hmac-php · libregistry