New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

hmacauth/laravel-hmac-auth

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

Larablocks Analysis

hmacauth/laravel-hmac-auth works with Laravel 11 and 12 (latest release v1.0.0, Jan 16, 2026).

Recommendation checks

Use with care

Use with care: meets 1 of 4 checks.

  • Latest release doesn't support Laravel 13, the current version
  • Released in the last 12 months (Jan 16, 2026)
  • 0 downloads a month (needs 10,000)
  • 0 GitHub stars (needs 100)

State

Maintained
  • Last stable release: Jan 16, 2026.
  • 1 release in the last 12 months.
  • First released: Jan 16, 2026.
  • 4 open issues on GitHub.

Data from Packagist and GitHub, checked by Larablocks on Dec 1, 2026.

Install
composer require hmacauth/laravel-hmac-auth
Latest Version:v1.0.0
PHP:^8.3
Laravel:11 · 12
License:MIT
Last Updated:Jun 22, 2026
Links: GitHub  ·  Packagist
Maintainer: rickeysxhemz

Laravel HMAC Authentication

Tests Packagist Version Downloads License

HMAC-based API authentication for Laravel 11/12.

Install

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

Protect Routes

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

Documentation

See docs/ for full documentation:

Requirements

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

License

MIT

Alternatives to hmacauth/laravel-hmac-auth

cboxdk/laravel-webhook-signature

Cbox Webhook Signature — verification-only webhook signature checking for Larave...

6,949 2
spatie/laravel-suspicious-login

Detect suspicious logins in your Laravel app and decide how to respond

5,865 86
promptphp/intercept-support

Shared support utilities and configuration for Intercept middleware packages.

2,237 0
harryes/laravel-sentinellog

A vigilant authentication logging and security package for Laravel 10-13 (PHP 8....

2,637 8
delatbabel/apisecurity

API Security Helpers.

86,280 11

Version History

Version Released PHP Laravel License
v1.0.0 ^8.3 ^11.0|^12.0 MIT