PHPackages                             horde/otp - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. horde/otp

ActiveLibrary[Authentication &amp; Authorization](/categories/authentication)

horde/otp
=========

Horde RFC 4226 HOTP and RFC 6238 TOTP Library

v1.0.0alpha1(1mo ago)041LGPL-2.1PHPPHP ^8.1

Since Apr 23Pushed 1mo agoCompare

[ Source](https://github.com/horde/Otp)[ Packagist](https://packagist.org/packages/horde/otp)[ Docs](http://www.horde.org/libraries/Horde_Otp)[ RSS](/packages/horde-otp/feed)WikiDiscussions FRAMEWORK\_6\_0 Synced 1w ago

READMEChangelogDependenciesVersions (2)Used By (1)

Horde/Otp TOTP and HOTP MFA library
===================================

[](#hordeotp-totp-and-hotp-mfa-library)

A pure library with virtually no Horde dependencies implementing RFC 6238 TOTP Time-Based One-Time Password and RFC 4226 HOTP HMAC-Based One-Time Password

###  Health Score

34

—

LowBetter than 75% of packages

Maintenance90

Actively maintained with recent releases

Popularity5

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity28

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

47d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/e4f6c6771993db2ed500959b42353f6cf6a2ca0406d9617f7ae680f4504faa4a?d=identicon)[horde](/maintainers/horde)

---

Top Contributors

[![ralflang](https://avatars.githubusercontent.com/u/646976?v=4)](https://github.com/ralflang "ralflang (1 commits)")

---

Tags

otphotptotp2farfc4226rfc6238

### Embed Badge

![Health badge](/badges/horde-otp/health.svg)

```
[![Health](https://phpackages.com/badges/horde-otp/health.svg)](https://phpackages.com/packages/horde-otp)
```

###  Alternatives

[christian-riesen/otp

One Time Passwords, hotp and totp according to RFC4226 and RFC6238

885.4M6](/packages/christian-riesen-otp)[spomky-labs/otphp

A PHP library for generating one time passwords according to RFC 4226 (HOTP Algorithm) and the RFC 6238 (TOTP Algorithm) and compatible with Google Authenticator

1.5k48.8M149](/packages/spomky-labs-otphp)[chillerlan/php-authenticator

A generator for counter- and time based 2-factor authentication codes (Google Authenticator). PHP 8.2+

56127.6k3](/packages/chillerlan-php-authenticator)[infocyph/otp

Simple &amp; Secure Generic OTP, OCRA (RFC6287), TOTP (RFC6238) &amp; HOTP (RFC4226) solution!

147.0k](/packages/infocyph-otp)[paragonie/multi-factor

Vendor-agnostic two-factor authentication library

142197.5k2](/packages/paragonie-multi-factor)[rych/otp

PHP implementation of the OATH one-time password standards

35274.8k4](/packages/rych-otp)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
