Ross ROSS = Recommend OSS · open-source software intelligence for agents

PHPGangsta/GoogleAuthenticator

PHP class to generate and verify Google Authenticator 2-factor authentication observed · 2026-08-28

github.com/PHPGangsta/GoogleAuthenticator · homepage · PHP · BSD-2-Clause (permissive) observed · 2026-08-28

Health v2 · maintenance only

23/100

  • Activity 0
  • Release rhythm 8
  • 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: n/a
  • age_days: 5288
  • days_rel: n/a
  • days_push: 855
  • n_releases_24m: 0

Full methodology

Adoption not part of the score

2325 stars · 718 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

A PHP library implementing TOTP (RFC 6238) for Google Authenticator two-factor authentication. It generates secrets and codes, verifies codes with clock tolerance, and produces QR code URLs for provisioning secrets.

Use cases

  • add two-factor authentication to a PHP login system
  • generate TOTP secrets for users to scan with Google Authenticator
  • verify 6-digit one-time codes server-side
  • show a QR code so users can enroll their authenticator app
  • implement RFC 6238 time-based OTP in PHP

When to choose

  • you need a small, dependency-light PHP class for TOTP 2FA
  • you want a battle-tested library with a simple API for secret generation and code verification

When to avoid

  • you need built-in replay protection or brute-force rate limiting (you must implement these yourself)
  • you need HOTP counter-based OTP or advanced 2FA features like WebAuthn
  • you are not working in PHP

Facets

library · maturity maintenance

auth security cryptography security web-development backend php totp two-factor-authentication google-authenticator rfc6238 otp qr-code

1 source

Member repositories

RepositoryRoleHealth v2
PHPGangsta/GoogleAuthenticatormain23

For agents

markdown · JSON · MCP: product_card(name="PHPGangsta/GoogleAuthenticator")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem