PHPackages                             vytautasgimbutas/lib-hawk-authentication-guzzle-subscriber - 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. vytautasgimbutas/lib-hawk-authentication-guzzle-subscriber

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

vytautasgimbutas/lib-hawk-authentication-guzzle-subscriber
==========================================================

Guzzle subscriber for Hawk Authentication

v1.0.1(11y ago)026MITPHP

Since Oct 10Pushed 11y ago1 watchersCompare

[ Source](https://github.com/vytautasgimbutas/lib-hawk-authentication-guzzle-subscriber)[ Packagist](https://packagist.org/packages/vytautasgimbutas/lib-hawk-authentication-guzzle-subscriber)[ RSS](/packages/vytautasgimbutas-lib-hawk-authentication-guzzle-subscriber/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (1)Dependencies (2)Versions (3)Used By (0)

Guzzle Subscriber for Hawk Authentication
=========================================

[](#guzzle-subscriber-for-hawk-authentication)

Hawk specification can be found here:

[Using Symfony2? Check out Hawk Authentication bundle that uses Symfony2 Security component.](https://github.com/vytautasgimbutas/lib-hawk-authentication-bundle)

Usage
-----

[](#usage)

```
use Tornado\Component\HawkAuthentication\HawkAuthenticationSubscriber;
use Dflydev\Hawk\Client\ClientBuilder;
use Dflydev\Hawk\Credentials\Credentials;
use GuzzleHttp\Client;

$id = '12345';
$secret = 'asd';

$client = ClientBuilder::create()->build();
$credentials = new Credentials($secret, 'sha256', $id);

$hawkAuthenticationPlugin = new HawkAuthenticationSubscriber(
    $client,
    $credentials
);

$httpClient = new Client();
/** @var \GuzzleHttp\Message\Response $response */
$response = $httpClient->post('https://test.dev/app_dev.php/rest?a=b', [
    'json'        => array('a' => 'b'),
    'subscribers' => array($hawkAuthenticationPlugin),
]);
```

###  Health Score

27

—

LowBetter than 46% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

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 ~155 days

Total

2

Last Release

4174d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1172971?v=4)[Vytautas Gimbutas](/maintainers/vytautasgimbutas)[@vytautasgimbutas](https://github.com/vytautasgimbutas)

---

Top Contributors

[![vytautasgimbutas](https://avatars.githubusercontent.com/u/1172971?v=4)](https://github.com/vytautasgimbutas "vytautasgimbutas (1 commits)")

---

Tags

GuzzleAuthenticationsubscriberhawk

### Embed Badge

![Health badge](/badges/vytautasgimbutas-lib-hawk-authentication-guzzle-subscriber/health.svg)

```
[![Health](https://phpackages.com/badges/vytautasgimbutas-lib-hawk-authentication-guzzle-subscriber/health.svg)](https://phpackages.com/packages/vytautasgimbutas-lib-hawk-authentication-guzzle-subscriber)
```

###  Alternatives

[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k832.6k54](/packages/neuron-core-neuron-ai)[guzzlehttp/oauth-subscriber

Guzzle OAuth 1.0 subscriber

24215.8M157](/packages/guzzlehttp-oauth-subscriber)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3661.3M49](/packages/tencentcloud-tencentcloud-sdk-php)[eslazarev/wildberries-sdk

Wildberries OpenAPI clients (generated).

353.6k](/packages/eslazarev-wildberries-sdk)

PHPackages © 2026

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