Download the PHP package lachezargrigorov/laravel-tokens-manager without Composer
On this page you can find all versions of the php package lachezargrigorov/laravel-tokens-manager. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download lachezargrigorov/laravel-tokens-manager
More information about lachezargrigorov/laravel-tokens-manager
Files in lachezargrigorov/laravel-tokens-manager
Package laravel-tokens-manager
Short Description An easy to use tokens manager for Laravel applications. Useful in user email confirmation process and not only.
License MIT
Homepage https://github.com/lachezargrigorov/laravel-tokens-manager
Informations about the package laravel-tokens-manager
Tokens manager for Laravel.
An easy to use tokens manager for Laravel applications. Useful in user email confirmation process and not only.
Installation
Via Composer
If you do not run Laravel 5.5 (or higher), then add the service provider in config/app.php:
If you do not run Laravel 5.5 and want to use the facade, add this to your aliases in app.php:
Usage
Get payload without deleting the token
Token not found
Expired tokens are deleted automatically on every Tokens::use call for all managers so you can't receive the payload of expired token and you don't need to delete them manually too!
If you still wants to delete a token
Testing
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see PULL_REQUEST_TEMPLATE for details.
Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.