PHPackages                             wildwolf/php-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. [Security](/categories/security)
4. /
5. wildwolf/php-otp

ActiveLibrary[Security](/categories/security)

wildwolf/php-otp
================

Simple HOTP/TOTP generation library

1.2.1(4y ago)242.3k↓34.7%[1 issues](https://github.com/sjinks/php-otp/issues)[4 PRs](https://github.com/sjinks/php-otp/pulls)1MITPHPPHP &gt;=7.0.0CI passing

Since Mar 28Pushed 2mo ago1 watchersCompare

[ Source](https://github.com/sjinks/php-otp)[ Packagist](https://packagist.org/packages/wildwolf/php-otp)[ Docs](https://github.com/sjinks/php-otp)[ RSS](/packages/wildwolf-php-otp/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (13)Used By (1)

php-otp
=======

[](#php-otp)

[![CI](https://github.com/sjinks/php-otp/actions/workflows/ci.yaml/badge.svg)](https://github.com/sjinks/php-otp/actions/workflows/ci.yaml)[![Maintainability](https://camo.githubusercontent.com/c6b363de4d4d5d355f94c1f14e2a9aecf97c30ad8e5074299b6534f745f00599/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f34343131336632356530376130346463626537392f6d61696e7461696e6162696c697479)](https://codeclimate.com/github/sjinks/php-otp/maintainability)[![Test Coverage](https://camo.githubusercontent.com/a61f2f6fdfe9828652e4465552640afc23b908c9303ccb7124b0aaa9ad734ddc/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f34343131336632356530376130346463626537392f746573745f636f766572616765)](https://codeclimate.com/github/sjinks/php-otp/test_coverage)

Simple HOTP/TOTP generation library

###  Health Score

43

—

FairBetter than 91% of packages

Maintenance48

Moderate activity, may be stable

Popularity31

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 54.1% 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

Every ~224 days

Recently: every ~335 days

Total

7

Last Release

1628d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1079712?v=4)[wildwolf](/maintainers/wildwolf)[@wildwolf](https://github.com/wildwolf)

---

Top Contributors

[![renovate[bot]](https://avatars.githubusercontent.com/in/2740?v=4)](https://github.com/renovate[bot] "renovate[bot] (118 commits)")[![sjinks](https://avatars.githubusercontent.com/u/7810770?v=4)](https://github.com/sjinks "sjinks (99 commits)")[![renovate-bot](https://avatars.githubusercontent.com/u/25180681?v=4)](https://github.com/renovate-bot "renovate-bot (1 commits)")

---

Tags

otphotptotpsecurity

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[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.5k46.1M119](/packages/spomky-labs-otphp)[rych/otp

PHP implementation of the OATH one-time password standards

36265.8k4](/packages/rych-otp)[tzsk/otp

A secure, database-free One-Time Password (OTP) generator and verifier for PHP and Laravel.

241641.4k1](/packages/tzsk-otp)[christian-riesen/otp

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

885.1M6](/packages/christian-riesen-otp)[firehed/security

Security tools for PHP

2374.9k2](/packages/firehed-security)[chillerlan/php-authenticator

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

58119.1k2](/packages/chillerlan-php-authenticator)

PHPackages © 2026

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