imritesh / otp
: 描述
v1.0
2019-03-07 09:46 UTC
Requires
- guzzlehttp/guzzle: ~6.0
- illuminate/support: ~5
Requires (Dev)
- mockery/mockery: ^1.1
- orchestra/testbench: ~3.0
- phpunit/phpunit: ~7.0
- sempro/phpunit-pretty-print: ^1.0
This package is auto-updated.
Last update: 2024-09-29 05:02:26 UTC
README
此包使用 2Factor 发送和验证 OTP laravel
安装
通过 Composer
$ composer require imritesh/otp
用法
发送 OTP
use imritesh\Otp\Otp;
$new = new ImriteshOtp();
$new->sendOtp('999999999', 'Your-OTP-Code');
变更日志
有关最近更改的更多信息,请参阅 变更日志。
测试
$ composer test
贡献
请参阅 contributing.md 以获取详细信息和工作清单。
安全性
如果您发现任何安全问题,请通过电子邮件 hello@imritesh.com 而不是使用问题跟踪器。
鸣谢
许可
MIT。请参阅 许可文件 以获取更多信息。