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,049
9
hosseinhezami/laravel-permission-manager
Advanced permission manager for Laravel.
3,344
37
access-control
access-management
acl
authentication
authorization
authorization-system
blade-directives
laravel
laravel-package
laravel-permissions
laravel-roles
middleware
multi-role
permission
permission-check
permission-management
permission-manager
permission-system
rbac
role-based-access-control
role-management
roles
security
user-permissions
user-roles
auth0/login
Auth0 Laravel SDK. Straight-forward and tested methods for implementing authenti...
5,408,838
274