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

ActiveWordpress-plugin[Authentication &amp; Authorization](/categories/authentication)

wpup/2fa
========

Two-factor Authentication for WordPress

v1.0.2(7y ago)65.3kMITPHPPHP ^7.0

Since Nov 8Pushed 6y ago3 watchersCompare

[ Source](https://github.com/wpup/2fa)[ Packagist](https://packagist.org/packages/wpup/2fa)[ Docs](https://github.com/wpup/2fa)[ RSS](/packages/wpup-2fa/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (3)Dependencies (6)Versions (4)Used By (0)

Two-factor Authentication for WordPress
=======================================

[](#two-factor-authentication-for-wordpress)

[![Build Status](https://camo.githubusercontent.com/8508bb1bedc2df0d66df98a396ab2b955a29fda65c3cc8de760a61a344ee1ecf/68747470733a2f2f7472617669732d63692e6f72672f777075702f3266612e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/wpup/2fa)[![No Maintenance Intended](https://camo.githubusercontent.com/d904056147052e22d8e1c7f46bb50293ed2aeb4c43ead9a2d0cf7a48b46d0562/687474703a2f2f756e6d61696e7461696e65642e746563682f62616467652e737667)](http://unmaintained.tech/)

Two-factor Authentication for WordPress. Based on [Google2FA](https://github.com/antonioribeiro/google2fa) and [Recovery](https://github.com/antonioribeiro/recovery).

[![](https://user-images.githubusercontent.com/14610/32464431-47ff6a84-c340-11e7-9079-bba57b950a5e.png)](https://user-images.githubusercontent.com/14610/32464431-47ff6a84-c340-11e7-9079-bba57b950a5e.png)

Install
-------

[](#install)

```
composer require wpup/2fa

```

Constants
---------

[](#constants)

You can define a custom crypto key by defining `TWO_FA_KEY` Default value is `AUTH_KEY` value or empty string.

License
-------

[](#license)

MIT © [Fredrik Forsmo](https://github.com/frozzare)

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity60

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

Total

3

Last Release

2817d ago

### Community

Maintainers

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

---

Top Contributors

[![frozzare](https://avatars.githubusercontent.com/u/14610?v=4)](https://github.com/frozzare "frozzare (51 commits)")

---

Tags

2faauthenticationtwo-factor-authenticationwordpresswordpressAuthentication2fatwo-factor

### Embed Badge

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

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

###  Alternatives

[laragear/two-factor

On-premises 2FA Authentication for out-of-the-box.

339785.3k8](/packages/laragear-two-factor)[markshust/magento2-module-disabletwofactorauth

The DisableTwoFactorAuth module provides the ability to disable two-factor authentication.

2282.7M6](/packages/markshust-magento2-module-disabletwofactorauth)[scheb/2fa-google-authenticator

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

298.2M30](/packages/scheb-2fa-google-authenticator)[scheb/2fa-backup-code

Extends scheb/2fa-bundle with backup codes support

183.6M20](/packages/scheb-2fa-backup-code)[stephenjude/filament-two-factor-authentication

Filament Two Factor Authentication: Google 2FA + Passkey Authentication

81158.7k4](/packages/stephenjude-filament-two-factor-authentication)[kelunik/two-factor

Two factor authentication.

371.9k1](/packages/kelunik-two-factor)

PHPackages © 2026

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