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(7mo ago)00[4 PRs](https://github.com/rickeysxhemz/hmacAuth/pulls)MITPHPPHP ^8.3CI passing

Since Jan 15Pushed 1mo 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 1w ago

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

37

—

LowBetter than 81% of packages

Maintenance78

Regular maintenance activity

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

214d 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

3345.4M354](/packages/psalm-plugin-laravel)[api-platform/laravel

API Platform support for Laravel

58190.1k21](/packages/api-platform-laravel)[laravel/cashier

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

2.6k31.8M162](/packages/laravel-cashier)[laravel/mcp

Rapidly build MCP servers for your Laravel applications.

79227.1M229](/packages/laravel-mcp)[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9922.4M146](/packages/roots-acorn)[fleetbase/core-api

Core Framework and Resources for Fleetbase API

1239.7k25](/packages/fleetbase-core-api)

PHPackages © 2026

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