/laravel-otp

2Factor OTP for laravel, many more coming soon

Primary LanguagePHPOtherNOASSERTION

Otp

This package uses 2Factor to send and verify OTP laravel

Installation

Via Composer

$ composer require imritesh/otp

Usage

For Sending OTP

use imritesh\Otp\Otp;

$new = new ImriteshOtp();
$new->sendOtp('999999999', 'Your-OTP-Code');

Change log

Please see the changelog for more information on what has changed recently.

Testing

$ composer test

Contributing

Please see contributing.md for details and a todolist.

Security

If you discover any security related issues, please email hello@imritesh.com instead of using the issue tracker.

Credits

License

MIT. Please see the license file for more information.