承接 robthree/twofactorauth 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

robthree/twofactorauth

最新稳定版本:v3.0.2

Composer 安装命令:

composer require robthree/twofactorauth

包简介

Two Factor Authentication

README 文档

README

Build status Latest Stable Version License Downloads PayPal donate button

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 EndroidQrCodeProvider or EndroidQrCodeWithLogoProvider.
  • bacon/bacon-qr-code if using BaconQrCodeProvider.
  • php-curl library when using an external QR Code provider such as QRServerProvider, ImageChartsQRCodeProvider, QRicketProvider or 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

GitHub 信息

  • Stars: 1164
  • Watchers: 47
  • Forks: 140
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-01-04