Download the PHP package fisal/laravel-otp without Composer
On this page you can find all versions of the php package fisal/laravel-otp. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download fisal/laravel-otp
More information about fisal/laravel-otp
Files in fisal/laravel-otp
Download fisal/laravel-otp
More information about fisal/laravel-otp
Files in fisal/laravel-otp
Vendor fisal
Package laravel-otp
Short Description Laravel OTP package with OTP type binding and attempts limiting.
License MIT
Homepage https://mohamed-fisal.com/
Package laravel-otp
Short Description Laravel OTP package with OTP type binding and attempts limiting.
License MIT
Homepage https://mohamed-fisal.com/
Please rate this library. Is it a good library?
Informations about the package laravel-otp
fisal/laravel-otp
A lightweight Laravel package to generate and validate one-time passwords (OTPs).
This is a maintained fork intended for real projects: it adds OTP type binding (e.g. login, 2fa) and an attempts limit.
Installation
Configuration (optional)
Publish config (optional):
Then you can control max attempts via:
config/otp.php- or env:
OTP_MAX_ATTEMPTS=5
Usage
Generate OTP
Validate OTP (consumes on success)
Boolean check (does NOT consume)
Artisan
Clean invalid and expired OTPs:
License
MIT
All versions of laravel-otp with dependencies
PHP Build Version
Package Version
Requires
php Version
^8.1|^8.2|^8.3|^8.4|^8.5|^8.6|^8.7|^8.8|^8.9|^9.0
illuminate/support Version ^9.0|^10.0|^11.0|^12.0|^13.0
illuminate/database Version ^9.0|^10.0|^11.0|^12.0|^13.0
nesbot/carbon Version ^2.0|^3.0
illuminate/support Version ^9.0|^10.0|^11.0|^12.0|^13.0
illuminate/database Version ^9.0|^10.0|^11.0|^12.0|^13.0
nesbot/carbon Version ^2.0|^3.0
The package fisal/laravel-otp contains the following files
Loading the files please wait ...