ghost / google-authenticator
Google 两步验证码
Installs: 2 464
Dependents: 0
Suggesters: 0
Security: 0
Stars: 12
Watchers: 0
Forks: 4
Type:package
pkg:composer/ghost/google-authenticator
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 ghost/google-authenticator
php artisan migrate
'google-authenticator'=> [ 'enable' => true, 'authenticatorname' => '' //名称 ],
namespace App\Admin\Controllers; use Ghost\GoogleAuthenticator\Http\Controllers\AuthController as BaseAuthController;