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

ActiveSymfony-bundle[Authentication &amp; Authorization](/categories/authentication)

scheb/2fa-bundle
================

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

v8.5.0(2mo ago)7015.2M↓28.6%420MITPHPPHP ~8.4.0 || ~8.5.0

Since Jun 3Pushed 2mo ago2 watchersCompare

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

READMEChangelogDependencies (20)Versions (77)Used By (20)

scheb/2fa-bundle
================

[](#scheb2fa-bundle)

[![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/c711a5e44a1d87f4b2e542b8c62a221b57d072d665d880ee1369b90051b710a6/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f73636865622f3266612d62756e646c65)](https://packagist.org/packages/scheb/2fa-bundle)[![Monthly Downloads](https://camo.githubusercontent.com/25a90316437740fa7a35f2a7fe83ba98ece5d7287304fc31124501d7e390256d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646d2f73636865622f3266612d62756e646c65)](https://packagist.org/packages/scheb/2fa-bundle/stats)[![Total Downloads](https://camo.githubusercontent.com/c9a7146425444b6d85fd6105d6812e09441ac34b3a82d67c79a2f42ffe46315a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f73636865622f3266612d62756e646c65)](https://packagist.org/packages/scheb/2fa-bundle/stats)[![License](https://camo.githubusercontent.com/f415de872e763a84e624d2dd9e598414f0bb71178a16d990cd1354ed99f6d50a/68747470733a2f2f706f7365722e707567782e6f72672f73636865622f3266612d62756e646c652f6c6963656e73652e737667)](https://packagist.org/packages/scheb/2fa-bundle)

Provides a generic interface to implement two-factor authentication in Symfony applications.

---

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

72

—

ExcellentBetter than 100% of packages

Maintenance85

Actively maintained with recent releases

Popularity60

Solid adoption and visibility

Community40

Growing community involvement

Maturity88

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 75.5% 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 ~28 days

Recently: every ~21 days

Total

77

Last Release

77d ago

Major Versions

5.x-dev → v6.0.32022-07-21

v6.12.0 → v7.0.02023-12-03

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

v7.13.0 → v8.0.02025-12-04

v7.13.1 → v8.2.02025-12-28

PHP version history (10 changes)v5.0.0PHP ^7.1.3

v5.0.1PHP &gt;=7.2.5

v6.0.0PHP ~8.0.0 || ~8.1.0

v6.5.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.0PHP ~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 (179 commits)")[![Spomky](https://avatars.githubusercontent.com/u/1091072?v=4)](https://github.com/Spomky "Spomky (7 commits)")[![danielburger1337](https://avatars.githubusercontent.com/u/48986191?v=4)](https://github.com/danielburger1337 "danielburger1337 (4 commits)")[![dt-thomas-durand](https://avatars.githubusercontent.com/u/134489640?v=4)](https://github.com/dt-thomas-durand "dt-thomas-durand (4 commits)")[![aturki](https://avatars.githubusercontent.com/u/13443190?v=4)](https://github.com/aturki "aturki (4 commits)")[![jeremywaguet](https://avatars.githubusercontent.com/u/8806943?v=4)](https://github.com/jeremywaguet "jeremywaguet (3 commits)")[![jmsche](https://avatars.githubusercontent.com/u/3929498?v=4)](https://github.com/jmsche "jmsche (3 commits)")[![Seldaek](https://avatars.githubusercontent.com/u/183678?v=4)](https://github.com/Seldaek "Seldaek (3 commits)")[![wouterj](https://avatars.githubusercontent.com/u/749025?v=4)](https://github.com/wouterj "wouterj (2 commits)")[![ben29](https://avatars.githubusercontent.com/u/343681?v=4)](https://github.com/ben29 "ben29 (2 commits)")[![brusch](https://avatars.githubusercontent.com/u/142037?v=4)](https://github.com/brusch "brusch (2 commits)")[![Chris8934](https://avatars.githubusercontent.com/u/44963939?v=4)](https://github.com/Chris8934 "Chris8934 (2 commits)")[![gnat42](https://avatars.githubusercontent.com/u/325591?v=4)](https://github.com/gnat42 "gnat42 (2 commits)")[![heiglandreas](https://avatars.githubusercontent.com/u/91998?v=4)](https://github.com/heiglandreas "heiglandreas (2 commits)")[![jsawicki-internetcompany](https://avatars.githubusercontent.com/u/70944111?v=4)](https://github.com/jsawicki-internetcompany "jsawicki-internetcompany (2 commits)")[![PhilETaylor](https://avatars.githubusercontent.com/u/400092?v=4)](https://github.com/PhilETaylor "PhilETaylor (2 commits)")[![mathieudz](https://avatars.githubusercontent.com/u/9510946?v=4)](https://github.com/mathieudz "mathieudz (1 commits)")[![norkunas](https://avatars.githubusercontent.com/u/2722872?v=4)](https://github.com/norkunas "norkunas (1 commits)")[![codedmonkey](https://avatars.githubusercontent.com/u/203651?v=4)](https://github.com/codedmonkey "codedmonkey (1 commits)")[![philomather](https://avatars.githubusercontent.com/u/15915610?v=4)](https://github.com/philomather "philomather (1 commits)")

---

Tags

2fasecuritysymfonysymfony-bundletwo-factor-authenticationsymfonyAuthentication2fatwo-factortwo-step

### Embed Badge

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

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

###  Alternatives

[easycorp/easyadmin-bundle

Admin generator for Symfony applications

4.3k17.5M370](/packages/easycorp-easyadmin-bundle)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.4M195](/packages/sulu-sulu)[symfony/security-bundle

Provides a tight integration of the Security component into the Symfony full-stack framework

2.5k181.3M2.2k](/packages/symfony-security-bundle)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

585.4M506](/packages/shopware-core)[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.5k5.8M710](/packages/sylius-sylius)[2lenet/crudit-bundle

The easy like Crud'it Bundle.

1715.6k12](/packages/2lenet-crudit-bundle)

PHPackages © 2026

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