robthree/twofactorauth
最新稳定版本:v3.0.2
Composer 安装命令:
composer require robthree/twofactorauth
包简介
Two Factor Authentication
关键字:
README 文档
README
PHP library for two-factor (or multi-factor) authentication using TOTP and QR-codes. Inspired by, based on but most importantly an improvement on 'PHPGangsta/GoogleAuthenticator'. There's a .Net implementation of this library as well.
Requirements
- Requires PHP version >=8.2
Optionally, you may need:
- sockets if you are using
NTPTimeProvider - endroid/qr-code if using
EndroidQrCodeProviderorEndroidQrCodeWithLogoProvider. - bacon/bacon-qr-code if using
BaconQrCodeProvider. - php-curl library when using an external QR Code provider such as
QRServerProvider,ImageChartsQRCodeProvider,QRicketProvideror any other custom provider connecting to an external service.
Installation
The best way of installing this library is with composer:
php composer.phar require robthree/twofactorauth
Usage
For a quick start, have a look at the getting started page or try out the demo.
If you need more in-depth information about the configuration available then you can read through the rest of documentation.
Integrations
License
Licensed under MIT license. See LICENSE for details.
Logo / icon under CC0 1.0 Universal (CC0 1.0) Public Domain Dedication (Archived page)
统计信息
- 总下载量: 9.66M
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1167
- 点击次数: 1
- 依赖项目数: 58
- 推荐数: 3
其他信息
- 授权协议: MIT
- 更新时间: 2026-01-04
