RobThree/TwoFactorAuth
PHP library for Two Factor Authentication (TFA / 2FA) observed · 2026-08-28
Health v2 · maintenance only
58/100
- Activity 60
- Release rhythm 32
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 218.5
- age_days: 4367
- days_rel: 240
- days_push: 240
- n_releases_24m: 3
Adoption not part of the score
1186 stars · 143 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A PHP library for implementing two-factor (multi-factor) authentication using TOTP time-based one-time passwords and QR codes. It supports multiple QR code providers and optional NTP time synchronization, installable via Composer.
Use cases
- add 2fa to a php web app
- generate totp secrets and qr codes in php
- verify google authenticator codes in php
- implement multi-factor authentication with php
- totp one-time password verification library
When to choose
- you need standards-compliant TOTP 2FA in a PHP 8.2+ project
- you want flexible QR code generation options
- you need a well-tested, MIT-licensed alternative to PHPGangsta/GoogleAuthenticator
When to avoid
- your project runs PHP older than 8.2
- you need non-TOTP methods like SMS or push-based 2FA
- you are not working in PHP
Facets
library · maturity stable
auth security security web-development backend php totp two-factor-authentication qrcode multi-factor google-authenticator-compatible
1 source
- readme: https://github.com/RobThree/TwoFactorAuth · fetched 2026-08-28 · dada71d4442f
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| RobThree/TwoFactorAuth | main | 58 |
For agents
markdown · JSON · MCP: product_card(name="RobThree/TwoFactorAuth")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem