PHPackages                             hmacauth/laravel-hmac-auth - 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. hmacauth/laravel-hmac-auth

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

hmacauth/laravel-hmac-auth
==========================

HMAC API authentication for Laravel with signature verification, replay attack prevention, and rate limiting

v1.0.0(5mo ago)00[3 issues](https://github.com/rickeysxhemz/hmacAuth/issues)[3 PRs](https://github.com/rickeysxhemz/hmacAuth/pulls)MITPHPPHP ^8.3CI passing

Since Jan 15Pushed 3w agoCompare

[ Source](https://github.com/rickeysxhemz/hmacAuth)[ Packagist](https://packagist.org/packages/hmacauth/laravel-hmac-auth)[ RSS](/packages/hmacauth-laravel-hmac-auth/feed)WikiDiscussions main Synced today

READMEChangelogDependencies (11)Versions (9)Used By (0)

Laravel HMAC Authentication
===========================

[](#laravel-hmac-authentication)

[![Tests](https://github.com/rickeysxhemz/hmacAuth/actions/workflows/tests.yml/badge.svg)](https://github.com/rickeysxhemz/hmacAuth/actions/workflows/tests.yml)[![Packagist Version](https://camo.githubusercontent.com/79e111673633100c572fa4f2c8673d20fc9386180fcd40e31c3ba29dd3c2960e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f686d6163617574682f6c61726176656c2d686d61632d61757468)](https://packagist.org/packages/hmacauth/laravel-hmac-auth)[![Downloads](https://camo.githubusercontent.com/ae1fabe5388b3b202ecbafef88c94ec8576bada8f6c81dec8472f6b5bbbdc8c2/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f686d6163617574682f6c61726176656c2d686d61632d61757468)](https://packagist.org/packages/hmacauth/laravel-hmac-auth)[![License](https://camo.githubusercontent.com/fa009f616e98be38ebdb77e00d4d78cc4906060ca411c3df85c08bd6b4098007/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f686d6163617574682f6c61726176656c2d686d61632d61757468)](https://github.com/rickeysxhemz/hmacAuth/blob/main/LICENSE)

HMAC-based API authentication for Laravel 11/12.

Install
-------

[](#install)

```
composer require hmacauth/laravel-hmac-auth
php artisan hmac:install
php artisan migrate
php artisan hmac:generate
```

Protect Routes
--------------

[](#protect-routes)

```
Route::middleware('hmac.verify')->group(function () {
    Route::post('/api/resource', ResourceController::class);
});
```

Documentation
-------------

[](#documentation)

See [docs/](docs/) for full documentation:

- [Getting Started](docs/getting-started.md)
- [Configuration](docs/configuration.md)
- [Client Examples](docs/clients/)
- [API Reference](docs/api-reference.md)
- [Commands](docs/commands.md)
- [Security](docs/security.md)
- [Troubleshooting](docs/troubleshooting.md)

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

[](#requirements)

- PHP 8.3+
- Laravel 11.x / 12.x
- Redis

License
-------

[](#license)

[MIT](https://github.com/rickeysxhemz/hmacAuth/blob/main/LICENSE)

###  Health Score

39

—

LowBetter than 84% of packages

Maintenance84

Actively maintained with recent releases

Popularity0

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 88.9% 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

Unknown

Total

1

Last Release

169d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/37139614?v=4)[Muhammad Waqas Majeed](/maintainers/rickeysxhemz)[@rickeysxhemz](https://github.com/rickeysxhemz)

---

Top Contributors

[![rickeysxhemz](https://avatars.githubusercontent.com/u/37139614?v=4)](https://github.com/rickeysxhemz "rickeysxhemz (40 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (5 commits)")

---

Tags

api-authenticationauthenticationhmachmac-signaturelaravellaravel-packagemiddlewarephprate-limitingsecuritymiddlewareapilaravelsecuritysignatureAuthenticationoctanehmacrate limitingnoncereplay-attackrequest-signing

###  Code Quality

TestsPest

Static AnalysisPHPStan

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/hmacauth-laravel-hmac-auth/health.svg)

```
[![Health](https://phpackages.com/badges/hmacauth-laravel-hmac-auth/health.svg)](https://phpackages.com/packages/hmacauth-laravel-hmac-auth)
```

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M346](/packages/psalm-plugin-laravel)[api-platform/laravel

API Platform support for Laravel

58171.6k14](/packages/api-platform-laravel)[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9762.4M131](/packages/roots-acorn)[laravel/cashier

Laravel Cashier provides an expressive, fluent interface to Stripe's subscription billing services.

2.6k29.9M147](/packages/laravel-cashier)[laravel/pulse

Laravel Pulse is a real-time application performance monitoring tool and dashboard for your Laravel application.

1.7k15.1M132](/packages/laravel-pulse)[laravel/mcp

Rapidly build MCP servers for your Laravel applications.

77022.3M151](/packages/laravel-mcp)

PHPackages © 2026

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