PHPackages                             issyrocks12/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. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. issyrocks12/flarum-ext-twofactor

Abandoned → [reflar/twofactor](/?search=reflar%2Ftwofactor)Flarum-extension[Authentication &amp; Authorization](/categories/authentication)

issyrocks12/flarum-ext-twofactor
================================

Add TOTP 2 factor authentication

1.0.1(9y ago)3374MITPHP

Since Mar 20Pushed 9y ago1 watchersCompare

[ Source](https://github.com/KyrneDev/flarum-ext-twofactor)[ Packagist](https://packagist.org/packages/issyrocks12/flarum-ext-twofactor)[ RSS](/packages/issyrocks12-flarum-ext-twofactor/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (2)Dependencies (2)Versions (4)Used By (0)

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

[](#two-factor)

[![GitHub license](https://camo.githubusercontent.com/7013272bd27ece47364536a221edb554cd69683b68a46fc0ee96881174c4214c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e737667)](https://github.com/issyrocks12/flarum-ext-twofactor/blob/master/LICENSE) [![Latest Stable Version](https://camo.githubusercontent.com/3a5f700da2f7ceef9384113fa997acbb3565b93f0f15093dbc6f72098a5a7998/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f69737379726f636b7331322f666c6172756d2d6578742d74776f666163746f722e737667)](https://github.com/issyrocks12/flarum-ext-twofactor) [![Donate](https://camo.githubusercontent.com/0d6e4d8b50b5983a58205941b1a581b1305903393b7a39da574e3f60af3c7f5b/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f70617970616c2d646f6e6174652d79656c6c6f772e737667)](https://paypal.me/CDK2020)

##### Please read the install guide!

[](#please-read-the-install-guide)

A [Flarum](http://flarum.org) extension that increases security by adding TOTP two factor authentication

### Goals

[](#goals)

- To increase forum security

### Usage

[](#usage)

- As a user, go to your account settings page and follow the prompts to setup twofactor
- No admin options to configure

### Installation

[](#installation)

This extension requires a bit more setup. These steps are optional but will greatly increase the security of this plugin.

First install it with composer:

```
composer require issyrocks12/flarum-ext-twofactor
```

Then login and enable the extension.

#### !!Make sure to undo this if you ever uninstall this extension!!

[](#make-sure-to-undo-this-if-you-ever-uninstall-this-extension)

If you have Apache, add these lines right after the "RewriteEngine on"

```
  RewriteCond %{REQUEST_URI} ^/login
  RewriteRule ^(.*)$ - [F,L]

```

If you have Nginx add these lines to your server block:

```
  location ~ ^/login {
                deny all;
  }

```

Q: What does this do? A: This extension uses a custom login handler and therefore a different url to send the login request to. If someone changes the url back to the default they could bypass the twof factor auth.

### To Do

[](#to-do)

- Requests?

### Issues

[](#issues)

- None known

### Links

[](#links)

- [on github](https://github.com/issyrocks12/flarum-ext-twofactor)
- [on packagist](https://packagist.org/packages/issyrocks12/flarum-ext-twofactor)
- [issues](https://github.com/issyrocks12/flarum-ext-twofactor/issues)

###  Health Score

30

—

LowBetter than 62% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity65

Established project with proven stability

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

Total

2

Last Release

3304d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/887d749e38ce714da8ef0063fa39a5ceb5085cd4fdb1f4bf4bbda28b116ab025?d=identicon)[CDK2020](/maintainers/CDK2020)

---

Tags

twofactor

### Embed Badge

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

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

###  Alternatives

[craftcms/cms

Craft CMS

3.6k3.6M2.9k](/packages/craftcms-cms)[jeffgreco13/filament-breezy

A custom package for Filament with login flow, profile and teams support.

1.0k1.9M53](/packages/jeffgreco13-filament-breezy)[pragmarx/google2fa-qrcode

QR Code package for Google2FA

12029.2M52](/packages/pragmarx-google2fa-qrcode)[stephenjude/filament-two-factor-authentication

Filament Two Factor Authentication: Google 2FA + Passkey Authentication

84192.9k8](/packages/stephenjude-filament-two-factor-authentication)[rawilk/profile-filament-plugin

Profile &amp; MFA starter kit for filament.

3913.7k](/packages/rawilk-profile-filament-plugin)[filament/filament

A collection of full-stack components for accelerated Laravel app development.

3827.0M3.3k](/packages/filament-filament)

PHPackages © 2026

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