PHPackages                             nearata/flarum-ext-twofactor - 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. nearata/flarum-ext-twofactor

ActiveFlarum-extension[Security](/categories/security)

nearata/flarum-ext-twofactor
============================

Allows your users to activate 2FA authentication.

v2.2.1(2y ago)53.1k↓50%2[6 issues](https://github.com/Nearata/flarum-ext-twofactor/issues)[1 PRs](https://github.com/Nearata/flarum-ext-twofactor/pulls)UnlicenseTypeScriptPHP ^8.0

Since May 10Pushed 9mo ago1 watchersCompare

[ Source](https://github.com/Nearata/flarum-ext-twofactor)[ Packagist](https://packagist.org/packages/nearata/flarum-ext-twofactor)[ RSS](/packages/nearata-flarum-ext-twofactor/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (3)Versions (13)Used By (0)

Two Factor
==========

[](#two-factor)

[![license](https://camo.githubusercontent.com/a4cea7c6dd51084dab2ca5d0a26c23598230e98274cd5c3c051c457c24bc87d9/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f6e6561726174612f666c6172756d2d6578742d74776f666163746f723f7374796c653d666c6174)](https://github.com/Nearata/flarum-ext-twofactor/blob/main/UNLICENSE)[![packagist](https://camo.githubusercontent.com/7042d93884553686cc7c84c96048aca7aae6245feb1f42151d9396b9b95cd4b1/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6e6561726174612f666c6172756d2d6578742d74776f666163746f723f7374796c653d666c6174)](https://packagist.org/packages/nearata/flarum-ext-twofactor)[![changelog](https://camo.githubusercontent.com/0879c34af2153b04028dd5a7ef23b7b2e615baaef9c9761ac32f16e4326e7225/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652d646174652f6e6561726174612f666c6172756d2d6578742d74776f666163746f723f6c6162656c3d6c61737425323072656c6561736525323064617465)](https://github.com/Nearata/flarum-ext-twofactor/blob/main/CHANGELOG.md)

> Allows your users to activate 2FA authentication.

Screenshots
-----------

[](#screenshots)

Go to the [screenshots](screenshots) folder to see the previews.

Install
-------

[](#install)

```
composer require nearata/flarum-ext-twofactor:"*"
```

Update
------

[](#update)

```
composer require nearata/flarum-ext-twofactor:"*"
php flarum migrate
php flarum cache:clear
```

Remove
------

[](#remove)

Disable the extension, click uninstall and run these commands:

```
composer remove nearata/flarum-ext-twofactor
php flarum cache:clear
```

How to use
----------

[](#how-to-use)

Go to `User Settings` -&gt; `Two-Factor Authentication` section

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance21

Infrequent updates — may be unmaintained

Popularity26

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity64

Established project with proven stability

 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

Every ~77 days

Recently: every ~161 days

Total

11

Last Release

1065d ago

Major Versions

v1.0.4 → v2.0.02021-06-20

### Community

Maintainers

![](https://www.gravatar.com/avatar/061bc699f4894e9fe551110956a27d3d7f86efa23c955ff6d2ac119443008995?d=identicon)[Nearata](/maintainers/Nearata)

---

Top Contributors

[![Nearata](https://avatars.githubusercontent.com/u/26413668?v=4)](https://github.com/Nearata "Nearata (62 commits)")

---

Tags

flarumflarum-extensionsecuritytwo-factorsecuritytwofactorflarum

###  Code Quality

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/nearata-flarum-ext-twofactor/health.svg)

```
[![Health](https://phpackages.com/badges/nearata-flarum-ext-twofactor/health.svg)](https://phpackages.com/packages/nearata-flarum-ext-twofactor)
```

###  Alternatives

[phpseclib/phpseclib

PHP Secure Communications Library - Pure-PHP implementations of RSA, AES, SSH2, SFTP, X.509 etc.

5.6k434.8M1.3k](/packages/phpseclib-phpseclib)[fof/recaptcha

Increase your forum's security with Google reCAPTCHA

1235.4k](/packages/fof-recaptcha)

PHPackages © 2026

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