PHPackages                             chadicus/psr-middleware-hmac - 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. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. chadicus/psr-middleware-hmac

ActiveLibrary[Authentication &amp; Authorization](/categories/authentication)

chadicus/psr-middleware-hmac
============================

PSR-7 middleware for API authentication

16PHP

Since Sep 21Pushed 8y agoCompare

[ Source](https://github.com/chadicus/hmac-middleware-php)[ Packagist](https://packagist.org/packages/chadicus/psr-middleware-hmac)[ RSS](/packages/chadicus-psr-middleware-hmac/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (1)Used By (0)

PSR Hmac Middlware
==================

[](#psr-hmac-middlware)

[![Build Status](https://camo.githubusercontent.com/6ca3e7ac91e0ed0b17354a1c8098153918f883bff3db7ff56f5a0e3b3d3fcf3f/68747470733a2f2f7472617669732d63692e6f72672f63686164696375732f686d61632d6d6964646c65776172652d7068702e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/chadicus/hmac-middleware-php)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/2b3b3c939c30bce57f40e52ef7f3da23fe92130f2fac7195a9816e33de2a4444/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f63686164696375732f686d61632d6d6964646c65776172652d7068702f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/chadicus/hmac-middleware-php/?branch=master)[![Coverage Status](https://camo.githubusercontent.com/462f1b201421c8628f40365c72a9bb2e8a723682860d86e3d44d47391e95e933/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f63686164696375732f686d61632d6d6964646c65776172652d7068702f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/chadicus/hmac-middleware-php?branch=master)

[![Latest Stable Version](https://camo.githubusercontent.com/ff8954289cb2faae6eddd80e06d96b2870cf5d1a29d7e01921586f850e9fc3ac/68747470733a2f2f706f7365722e707567782e6f72672f63686164696375732f7073722d6d6964646c65776172652d686d61632f762f737461626c65)](https://packagist.org/packages/chadicus/psr-middleware-hmac)[![Latest Unstable Version](https://camo.githubusercontent.com/ae1ae4f84437f4a075f3f55fe8a6f08a31e7f7cdd319df1783b521f6c71f9d77/68747470733a2f2f706f7365722e707567782e6f72672f63686164696375732f7073722d6d6964646c65776172652d686d61632f762f756e737461626c65)](https://packagist.org/packages/chadicus/psr-middleware-hmac)[![License](https://camo.githubusercontent.com/cf4437ca2625dfb43e916f5de428807b54a11fc775331ce5164f3c72c5fc36f7/68747470733a2f2f706f7365722e707567782e6f72672f63686164696375732f7073722d6d6964646c65776172652d686d61632f6c6963656e7365)](https://packagist.org/packages/chadicus/psr-middleware-hmac)

[![Total Downloads](https://camo.githubusercontent.com/afe31b445ba412b71cf92d244bb9846cd0561de60db9b0f6d9232f1602fff664/68747470733a2f2f706f7365722e707567782e6f72672f63686164696375732f7073722d6d6964646c65776172652d686d61632f646f776e6c6f616473)](https://packagist.org/packages/chadicus/psr-middleware-hmac)[![Daily Downloads](https://camo.githubusercontent.com/d6fab6e85d5affa4f8bd83cdda5588cb9aa2485790b8cee19e196cc47cb04944/68747470733a2f2f706f7365722e707567782e6f72672f63686164696375732f7073722d6d6964646c65776172652d686d61632f642f6461696c79)](https://packagist.org/packages/chadicus/psr-middleware-hmac)[![Monthly Downloads](https://camo.githubusercontent.com/0a5f0943cbb0d870c74b9bd8df3c396e424ef884cf486922b2fb754a013a0841/68747470733a2f2f706f7365722e707567782e6f72672f63686164696375732f7073722d6d6964646c65776172652d686d61632f642f6d6f6e74686c79)](https://packagist.org/packages/chadicus/psr-middleware-hmac)

[![Documentation](https://camo.githubusercontent.com/a5445bbf0a3a04a2ec4db113f8a4ada4e12b57d9b2de32d936fa17800bc9ca6e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7265666572656e63652d706870646f632d626c75652e7376673f7374796c653d666c6174)](http://pholiophp.org/chadicus/psr-middleware-hmac)

Requirements
------------

[](#requirements)

Requires PHP 7.0 (or later).

Composer
--------

[](#composer)

To add the library as a local, per-project dependency use [Composer](http://getcomposer.org)! Simply add a dependency on `chadicus/psr-middleware-hmac` to your project's `composer.json` file such as:

```
composer require chadicus/psr-middleware-hmac
```

Contact
-------

[](#contact)

Developers may be contacted at:

- [Pull Requests](https://github.com/chadicus/psr-middleware-hmac/pulls)
- [Issues](https://github.com/chadicus/psr-middleware-hmac/issues)

Project Build
-------------

[](#project-build)

With a checkout of the code get [Composer](http://getcomposer.org) in your PATH and run:

```
composer install
./vendor/bin/phpunit
```

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/a8d287c8b6f54200e7c10080794152779dc84f043fcc35f43ea8d1e9c8818aa0?d=identicon)[chadicus](/maintainers/chadicus)

---

Top Contributors

[![chadicus](https://avatars.githubusercontent.com/u/1182337?v=4)](https://github.com/chadicus "chadicus (21 commits)")

### Embed Badge

![Health badge](/badges/chadicus-psr-middleware-hmac/health.svg)

```
[![Health](https://phpackages.com/badges/chadicus-psr-middleware-hmac/health.svg)](https://phpackages.com/packages/chadicus-psr-middleware-hmac)
```

###  Alternatives

[namshi/jose

JSON Object Signing and Encryption library for PHP.

1.8k99.6M101](/packages/namshi-jose)[league/oauth1-client

OAuth 1.0 Client Library

99698.8M106](/packages/league-oauth1-client)[bezhansalleh/filament-shield

Filament support for `spatie/laravel-permission`.

2.8k2.9M88](/packages/bezhansalleh-filament-shield)[gesdinet/jwt-refresh-token-bundle

Implements a refresh token system over Json Web Tokens in Symfony

70516.4M35](/packages/gesdinet-jwt-refresh-token-bundle)[league/oauth2-google

Google OAuth 2.0 Client Provider for The PHP League OAuth2-Client

41721.2M118](/packages/league-oauth2-google)[illuminate/auth

The Illuminate Auth package.

9327.3M1.0k](/packages/illuminate-auth)

PHPackages © 2026

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