hmacauth/laravel-hmac-auth
HMAC API authentication for Laravel with signature verification, replay attack prevention, and rate limiting
| Install | |
|---|---|
composer require hmacauth/laravel-hmac-auth |
|
| Latest Version: | v1.0.0 |
| PHP: | ^8.3 |
| License: | MIT |
| Last Updated: | Jun 22, 2026 |
| Links: | GitHub · Packagist |
Maintainer: rickeysxhemz
Laravel HMAC Authentication
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
Related Packages
milenmk/laravel-rate-limiting
Advanced rate limiting package for Laravel with exponential backoff, custom mess...
1,221
9
auth0/login
Auth0 Laravel SDK. Straight-forward and tested methods for implementing authenti...
5,503,577
274
rinvex/laravel-authy
Rinvex Authy is a simple wrapper for Authy TOTP, the best rated Two-Factor Authe...
77,843
32