yljphp / google-authenticator
谷歌两步验证码
1.0.4
2022-09-16 04:31 UTC
Requires
- php: >=7.1.0
- encore/laravel-admin: ^1.6
- simplesoftwareio/simple-qrcode: ^2.0
Requires (Dev)
- phpunit/phpunit: ~6.0
README
laravel-admin 后台验证插件
- 相对于验证码,安全性更高;几乎不存在破解方法
- 验证码有时难以识别,操作不便
- 一机一码,不存在账号被盗用的问题
- 动态验证,每30秒生成一个验证码,安全更有保障
composer require yljphp/google-authenticator
php artisan migrate
'google-authenticator'=> [ 'enable' => true, 'authenticatorname' => '' //名称 ],
namespace App\Admin\Controllers; use Yljphp\GoogleAuthenticator\Http\Controllers\AuthController as BaseAuthController;