rigorbb / laravel-fast-auth-links
Installs: 82
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:package
Requires
- illuminate/support: ^5.5
Requires (Dev)
- orchestra/testbench: ~3.0
- phpunit/phpunit: ~6.0
This package is not auto-updated.
Last update: 2025-06-25 09:10:55 UTC
README
A package that allows you to add a special hash that temporarily authorizes the user. Without a database.
Installation
Begin by installing this package through Composer.
composer require rigorbb/laravel-fast-auth-links
Usage
You can use these helper methods to add a hash to your links
auth_link_hourly($link, $user); //add hash with hourly active auth_link_daily($link, $user); //add hash with daily active auth_link_monthly($link, $user); //add hash with monthly active
And add HandleFastAuthLink::class middleware in your Kernel.php file.
That's all! Now if user goes through this link with a hash and the hash is active, it will be automatically authorized.