PHPackages                             scheb/2fa-totp - 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. scheb/2fa-totp

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

scheb/2fa-totp
==============

Extends scheb/2fa-bundle with two-factor authentication using TOTP

v8.5.0(3mo ago)292.7M—2.2%213MITPHPPHP ~8.4.0 || ~8.5.0

Since May 20Pushed 2mo agoCompare

[ Source](https://github.com/scheb/2fa-totp)[ Packagist](https://packagist.org/packages/scheb/2fa-totp)[ Docs](https://github.com/scheb/2fa)[ RSS](/packages/scheb-2fa-totp/feed)WikiDiscussions 8.x Synced 1mo ago

READMEChangelogDependencies (4)Versions (77)Used By (13)

scheb/2fa-totp
==============

[](#scheb2fa-totp)

[![Build Status](https://github.com/scheb/2fa/actions/workflows/ci.yaml/badge.svg?branch=8.x)](https://github.com/scheb/2fa/actions?query=workflow%3ACI+branch%3A8.x)[![Code Coverage](https://camo.githubusercontent.com/a0286a5e622260ef4c8533d20510d6bb679d8f7321c0903a6c06e81c1057db56/68747470733a2f2f636f6465636f762e696f2f67682f73636865622f3266612f6272616e63682f382e782f67726170682f62616467652e737667)](https://app.codecov.io/gh/scheb/2fa/branch/8.x)[![Latest Stable Version](https://camo.githubusercontent.com/e021182faa3492ba22e036c0f6e88052822d4168ed6694490811436a1d5caa66/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f73636865622f3266612d746f7470)](https://packagist.org/packages/scheb/2fa-totp)[![Monthly Downloads](https://camo.githubusercontent.com/a4a339c8551d1ea04e1ca35329686474b4c8129bb6ac184b14e110d5d42ca950/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646d2f73636865622f3266612d746f7470)](https://packagist.org/packages/scheb/2fa-totp/stats)[![Total Downloads](https://camo.githubusercontent.com/6508963936319a983e63353c8c8e0a158fb27d698d84c920e4d8b0bf01571d90/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f73636865622f3266612d746f7470)](https://packagist.org/packages/scheb/2fa-totp/stats)[![License](https://camo.githubusercontent.com/daf15683fcebef032f254cfa69b83fc2e64f7230c53caa5f5f050694c39a4e25/68747470733a2f2f706f7365722e707567782e6f72672f73636865622f3266612d746f74702f6c6963656e73652e737667)](https://packagist.org/packages/scheb/2fa-totp)

This package extends [scheb/2fa-bundle](https://github.com/scheb/2fa-bundle) with two-factor authentication using TOTP.

---

This repository is a sub-repository of [scheb/2fa](https://github.com/scheb/2fa) and is **READ ONLY**.

**Please do not submit any Pull Request here.** Use the [main repository](https://github.com/scheb/2fa) instead.

Installation
------------

[](#installation)

Please follow the [bundle's installation instructions](https://symfony.com/bundles/SchebTwoFactorBundle/8.x/installation.html).

Documentation
-------------

[](#documentation)

Documentation can be found on the [Symfony Bundles Documentation](https://symfony.com/bundles/SchebTwoFactorBundle/8.x/index.html) website.

License
-------

[](#license)

This software is available under the [MIT license](LICENSE).

###  Health Score

66

—

FairBetter than 99% of packages

Maintenance82

Actively maintained with recent releases

Popularity52

Moderate usage in the ecosystem

Community26

Small or concentrated contributor base

Maturity88

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 88.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 ~27 days

Recently: every ~5 days

Total

77

Last Release

115d ago

Major Versions

v5.13.1 → v6.0.02021-12-29

v5.13.2 → v6.2.02022-08-01

v6.12.0 → v7.0.02023-12-03

6.x-dev → v7.7.02025-03-20

v7.13.0 → v8.0.12025-12-04

PHP version history (8 changes)v6.0.0PHP ~8.0.0 || ~8.1.0

v6.6.0PHP ~8.0.0 || ~8.1.0 || ~8.2.0

v6.10.0PHP ~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0

v7.0.0PHP ~8.2.0 || ~8.3.0

v7.6.0PHP ~8.2.0 || ~8.3.0 || ~8.4.0

v6.13.1PHP ~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0

v7.12.1PHP ~8.2.0 || ~8.3.0 || ~8.4.0 || ~8.5.0

v8.0.0PHP ~8.4.0 || ~8.5.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/496658d46619a414a62b1e933fb7fc2e57eff4f0a4109f4cffc32093f57d65da?d=identicon)[scheb](/maintainers/scheb)

---

Top Contributors

[![scheb](https://avatars.githubusercontent.com/u/1259952?v=4)](https://github.com/scheb "scheb (59 commits)")[![Spomky](https://avatars.githubusercontent.com/u/1091072?v=4)](https://github.com/Spomky "Spomky (2 commits)")[![heiglandreas](https://avatars.githubusercontent.com/u/91998?v=4)](https://github.com/heiglandreas "heiglandreas (1 commits)")[![IonBazan](https://avatars.githubusercontent.com/u/1985514?v=4)](https://github.com/IonBazan "IonBazan (1 commits)")[![Chris8934](https://avatars.githubusercontent.com/u/44963939?v=4)](https://github.com/Chris8934 "Chris8934 (1 commits)")[![norkunas](https://avatars.githubusercontent.com/u/2722872?v=4)](https://github.com/norkunas "norkunas (1 commits)")[![johanib](https://avatars.githubusercontent.com/u/60608181?v=4)](https://github.com/johanib "johanib (1 commits)")[![codedmonkey](https://avatars.githubusercontent.com/u/203651?v=4)](https://github.com/codedmonkey "codedmonkey (1 commits)")

---

Tags

2fasymfony-bundletotptwo-factor-authenticationsymfonytotpAuthentication2fatwo-factortwo-step

### Embed Badge

![Health badge](/badges/scheb-2fa-totp/health.svg)

```
[![Health](https://phpackages.com/badges/scheb-2fa-totp/health.svg)](https://phpackages.com/packages/scheb-2fa-totp)
```

###  Alternatives

[scheb/2fa-google-authenticator

Extends scheb/2fa-bundle with two-factor authentication using Google Authenticator

298.2M30](/packages/scheb-2fa-google-authenticator)[scheb/2fa-trusted-device

Extends scheb/2fa-bundle with trusted devices support

355.1M16](/packages/scheb-2fa-trusted-device)[scheb/2fa-email

Extends scheb/2fa-bundle with two-factor authentication via email

354.3M16](/packages/scheb-2fa-email)[scheb/2fa

Two-factor authentication for Symfony applications (please use scheb/2fa-bundle to install)

578630.7k1](/packages/scheb-2fa)[scheb/2fa-backup-code

Extends scheb/2fa-bundle with backup codes support

183.6M20](/packages/scheb-2fa-backup-code)[scheb/2fa-bundle

A generic interface to implement two-factor authentication in Symfony applications

7014.0M62](/packages/scheb-2fa-bundle)

PHPackages © 2026

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