You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[](https://packagist.org/packages/tzsk/otp)
This is a tool to create OTP with an expiry for PHP without using any Database. This is primarily a Laravel Package but it can be used outside of Laravel also.
12
11
13
12
## :package: Installation
@@ -27,6 +26,7 @@ php artisan otp:publish
27
26
## :fire: Usage in Laravel
28
27
29
28
Import the facade class:
29
+
30
30
```php
31
31
use Tzsk\Otp\Facades\Otp;
32
32
```
@@ -90,6 +90,7 @@ Here, in the above example for matching the OTP we can see that the same config
90
90
### :ocean: Helper usage
91
91
92
92
You can use the package with provided helper function as well
0 commit comments