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

Spomky-Labs/otphp

Some data may be outdated — see provenance labels.

:closed_lock_with_key: A PHP library for generating one time passwords according to RFC 4226 (HOTP) and the RFC 6238 (TOTP) observed · 2026-09-29

github.com/Spomky-Labs/otphp · PHP · MIT (permissive) observed · 2026-09-29

Health v2 · maintenance only

89/100

  • Activity 92
  • Release rhythm 80
  • Longevity 100
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-10-21. Adoption (stars, forks) is never an input.

  • gap_med: 11.5
  • age_days: 4748
  • days_rel: 136
  • days_push: 49
  • n_releases_24m: 5

Full methodology

Adoption not part of the score

1492 stars · 160 forks observed · 2026-09-29

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

A PHP library for generating one-time passwords according to RFC 4226 (HOTP) and RFC 6238 (TOTP). It is compatible with Google Authenticator, FreeOTP, and similar apps.

Use cases

  • add two-factor authentication to a PHP application
  • generate TOTP codes compatible with Google Authenticator
  • implement HOTP one-time password generation
  • verify OTP codes during user login
  • provision 2FA secrets for authenticator apps

When to choose

  • you need standards-compliant HOTP/TOTP in a PHP project
  • you want compatibility with common authenticator apps
  • you need a lightweight MIT-licensed OTP library

When to avoid

  • you need full multi-factor authentication flows with WebAuthn or passkeys
  • your project is not in PHP

Facets

library · maturity stable

auth cryptography security security developer-tools web-development php otp totp hotp two-factor-authentication rfc-4226 rfc-6238 google-authenticator

1 source

Member repositories

RepositoryRoleHealth v2
Spomky-Labs/otphpmain89

For agents

markdown · JSON · MCP: product_card(name="Spomky-Labs/otphp")

Data as of 2026-10-19T08:05:51.212177+00:00 · Report a problem