PHPackages                             silverstripe/mfa - 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. silverstripe/mfa

ActiveSilverstripe-vendormodule[Authentication &amp; Authorization](/categories/authentication)

silverstripe/mfa
================

Enable multi-factor authentication with fallback codes

6.1.3(3mo ago)10346.1k↓21.3%27[21 issues](https://github.com/silverstripe/silverstripe-mfa/issues)[7 PRs](https://github.com/silverstripe/silverstripe-mfa/pulls)8BSD-3-ClausePHPPHP ^8.3CI passing

Since Jun 26Pushed 1mo ago6 watchersCompare

[ Source](https://github.com/silverstripe/silverstripe-mfa)[ Packagist](https://packagist.org/packages/silverstripe/mfa)[ RSS](/packages/silverstripe-mfa/feed)WikiDiscussions 6 Synced 1mo ago

READMEChangelog (10)Dependencies (10)Versions (109)Used By (8)

MultiFactor Authentication for SilverStripe
===========================================

[](#multifactor-authentication-for-silverstripe)

[![CI](https://github.com/silverstripe/silverstripe-mfa/actions/workflows/ci.yml/badge.svg)](https://github.com/silverstripe/silverstripe-mfa/actions/workflows/ci.yml)[![Silverstripe supported module](https://camo.githubusercontent.com/9b7e93d393a01f6d3091fb30983b870aa863ef076858115faaa1c74b995854ec/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f73696c7665727374726970652d737570706f727465642d3030373143342e737667)](https://www.silverstripe.org/software/addons/silverstripe-commercially-supported-module-list/)

With thanks to Simon `Firesphere` Erkelens
------------------------------------------

[](#with-thanks-to-simon-firesphere-erkelens)

This module was based on pioneering work by Simon. It differs from the original implementation in its use of a pluggable React UI + JSON API architecture, and its enhanced management UI within the CMS. You can find Simon's original module [here](https://github.com/firesphere/silverstripe-bootstrapmfa).

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

[](#installation)

```
composer require silverstripe/mfa
```

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

[](#documentation)

Read the [documentation](docs/en/index.md).

Module development
------------------

[](#module-development)

When adding translatable content to front-end UIs in the MFA module, you must ensure that these translations are pushed to Transifex. If this doesn't happen, they will be automatically removed in the next module released. See the [translation docs](https://docs.silverstripe.org/en/contributing/translation_process/#javascript-translations)for more information.

License
-------

[](#license)

See [license](LICENSE.md).

Versioning
----------

[](#versioning)

This library follows [Semver](http://semver.org). According to Semver, you will be able to upgrade to any minor or patch version of this library without any breaking changes to the public API. Semver also requires that we clearly define the public API for this library.

All methods, with `public` visibility, are part of the public API. All other methods are not part of the public API. Where possible, we'll try to keep `protected` methods backwards-compatible in minor/patch versions, but if you're overriding methods then please test your work before upgrading.

Reporting issues
----------------

[](#reporting-issues)

Please [create an issue](http://github.com/silverstripe/silverstripe-mfa/issues) for any bugs you've found, or features you're missing.

###  Health Score

63

—

FairBetter than 99% of packages

Maintenance65

Regular maintenance activity

Popularity46

Moderate usage in the ecosystem

Community39

Small or concentrated contributor base

Maturity91

Battle-tested with a long release history

 Bus Factor3

3 contributors hold 50%+ of commits

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 ~23 days

Recently: every ~0 days

Total

104

Last Release

99d ago

Major Versions

5.4.1 → 6.0.0-rc12025-05-01

5.4.2 → 6.0.12025-07-17

5.4.3 → 6.0.22025-08-18

5.4.4 → 6.1.32026-02-04

5.x-dev → 6.1.x-dev2026-02-08

PHP version history (5 changes)4.0.0-beta1PHP &gt;=7.1.0

4.5.0PHP ^7.3 || ^8.0

4.6.1PHP ^7.4 || ^8.0

5.0.0-beta1PHP ^8.1

6.0.0-alpha1PHP ^8.3

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/654636?v=4)[Aaron Carlino](/maintainers/unclecheese)[@unclecheese](https://github.com/unclecheese)

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

![](https://avatars.githubusercontent.com/u/111025?v=4)[Ingo Schommer](/maintainers/chillu)[@chillu](https://github.com/chillu)

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

![](https://www.gravatar.com/avatar/afbb3dcc9ef29c1a6eedd6addcae5fce9ab1271915a85a4c349301b71237368d?d=identicon)[silverstripe-machine01](/maintainers/silverstripe-machine01)

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

![](https://avatars.githubusercontent.com/u/1168676?v=4)[Maxime Rainville](/maintainers/maxime-rainville)[@maxime-rainville](https://github.com/maxime-rainville)

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

---

Top Contributors

[![robbieaverill](https://avatars.githubusercontent.com/u/5170590?v=4)](https://github.com/robbieaverill "robbieaverill (260 commits)")[![ScopeyNZ](https://avatars.githubusercontent.com/u/3260989?v=4)](https://github.com/ScopeyNZ "ScopeyNZ (136 commits)")[![emteknetnz](https://avatars.githubusercontent.com/u/4809037?v=4)](https://github.com/emteknetnz "emteknetnz (126 commits)")[![GuySartorelli](https://avatars.githubusercontent.com/u/36352093?v=4)](https://github.com/GuySartorelli "GuySartorelli (122 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (57 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (44 commits)")[![Firesphere](https://avatars.githubusercontent.com/u/680570?v=4)](https://github.com/Firesphere "Firesphere (34 commits)")[![NightJar](https://avatars.githubusercontent.com/u/778003?v=4)](https://github.com/NightJar "NightJar (19 commits)")[![sabina-talipova](https://avatars.githubusercontent.com/u/87288324?v=4)](https://github.com/sabina-talipova "sabina-talipova (11 commits)")[![michalkleiner](https://avatars.githubusercontent.com/u/233342?v=4)](https://github.com/michalkleiner "michalkleiner (4 commits)")[![dnsl48](https://avatars.githubusercontent.com/u/9313746?v=4)](https://github.com/dnsl48 "dnsl48 (2 commits)")[![chillu](https://avatars.githubusercontent.com/u/111025?v=4)](https://github.com/chillu "chillu (2 commits)")[![HeyImPhil](https://avatars.githubusercontent.com/u/4695076?v=4)](https://github.com/HeyImPhil "HeyImPhil (2 commits)")[![sachajudd](https://avatars.githubusercontent.com/u/24258161?v=4)](https://github.com/sachajudd "sachajudd (2 commits)")[![Cheddam](https://avatars.githubusercontent.com/u/242621?v=4)](https://github.com/Cheddam "Cheddam (2 commits)")[![TheBnl](https://avatars.githubusercontent.com/u/1334195?v=4)](https://github.com/TheBnl "TheBnl (1 commits)")[![bergice](https://avatars.githubusercontent.com/u/541886?v=4)](https://github.com/bergice "bergice (1 commits)")[![gurucomkz](https://avatars.githubusercontent.com/u/12028675?v=4)](https://github.com/gurucomkz "gurucomkz (1 commits)")[![indygriffiths](https://avatars.githubusercontent.com/u/32345766?v=4)](https://github.com/indygriffiths "indygriffiths (1 commits)")[![amolswnz](https://avatars.githubusercontent.com/u/20012807?v=4)](https://github.com/amolswnz "amolswnz (1 commits)")

---

Tags

hacktoberfestsecurityAuthenticationsilverstripemodule2-Factor

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/silverstripe-mfa/health.svg)

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

###  Alternatives

[silverstripe/cms

The SilverStripe Content Management System

5163.4M1.3k](/packages/silverstripe-cms)[axyr/silverstripe-adminlogin

Use a custom login screen to log in to the admin section

165.8k](/packages/axyr-silverstripe-adminlogin)[sicaboy/laravel-mfa

A Laravel package of Multi-factor Authentication (MFA/2FA) with a middleware.

101.2k](/packages/sicaboy-laravel-mfa)

PHPackages © 2026

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