Download the PHP package m.rahimi/laravel-tokenize-auth without Composer
On this page you can find all versions of the php package m.rahimi/laravel-tokenize-auth. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package laravel-tokenize-auth
Tokenized-auth
This package creates a 6 digits token, which allows you to send it by SMS, email, etc to users and they can login into their account with that token by sending it to specific endpoint.
Tokens are auto expiring and single use.
⬇ Installation:
Then publish the config file:
Basic usage:
Basically, this package introduces 2 endpoints, which you can send requests to them.
-
Generate and send the token to the user
- Accepts the token and authoenticates the user if the token was valid.
Note: If you want to use another shape of urls, just disable default routes in config file and define your routes.
Customization:
You are free to customize and swap the default classes, with your own classes.
If you want to swap the default implementations behind the facades with your own, you can do it within the boot
method of any service provider class like this :
Testing:
:raising_hand: Contributing
If you find an issue, or have a better way to do something, feel free to open an issue or a pull request.
Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
License
The MIT License (MIT). Please see License File for more information.
All versions of laravel-tokenize-auth with dependencies
laravel/framework Version ~5.1|6.*|7.*|8.*|9.*
imanghafoori/laravel-nullable Version ^1.2
imanghafoori/laravel-smart-facades Version ^1.0