PHPackages                             gulaandrij/twofactorauth - 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. gulaandrij/twofactorauth

ActiveLibrary[Authentication &amp; Authorization](/categories/authentication)

gulaandrij/twofactorauth
========================

Two Factor Authentication

1.0.2(8y ago)011MITPHPPHP ^7.2

Since Apr 27Pushed 8y ago1 watchersCompare

[ Source](https://github.com/gulaandrij/TwoFactorAuth)[ Packagist](https://packagist.org/packages/gulaandrij/twofactorauth)[ RSS](/packages/gulaandrij-twofactorauth/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (7)Versions (4)Used By (0)

TwoFactorAuth
=============

[](#twofactorauth)

[![Build Status](https://camo.githubusercontent.com/b51304e187746f0d2a75ebb050057bef9415e71c4aedb94c2491b5bcdb5db44c/68747470733a2f2f7472617669732d63692e6f72672f67756c61616e6472696a2f54776f466163746f72417574682e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/gulaandrij/TwoFactorAuth)

- docker-compose up -d
- docker exec -it tfa-app composer install
- [visit http://127.0.0.1:83/demo/](http://127.0.0.1:83/demo/)

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

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

Total

3

Last Release

2931d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/052561cd33ec8c827e577126b002d23624c0cb0592ac504ad79fce078fc2c15d?d=identicon)[gulaandrij](/maintainers/gulaandrij)

---

Top Contributors

[![gulaandrij](https://avatars.githubusercontent.com/u/2658746?v=4)](https://github.com/gulaandrij "gulaandrij (15 commits)")

---

Tags

phpAuthenticationTwo Factor AuthenticationMFAauthyauthenticatortfaMulti Factor Authentication

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/gulaandrij-twofactorauth/health.svg)

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

###  Alternatives

[robthree/twofactorauth

Two Factor Authentication

1.2k10.5M66](/packages/robthree-twofactorauth)[ellaisys/aws-cognito

AWS Cognito package that allows Auth and other related features using the AWS SDK for PHP

120220.7k1](/packages/ellaisys-aws-cognito)[paragonie/multi-factor

Vendor-agnostic two-factor authentication library

142195.5k2](/packages/paragonie-multi-factor)[chillerlan/php-authenticator

A generator for counter- and time based 2-factor authentication codes (Google Authenticator). PHP 8.2+

58119.1k2](/packages/chillerlan-php-authenticator)[awes-io/auth

Laravel Authentication package with built-in two-factor (Authy) and social authentication (Socialite).

3826.7k1](/packages/awes-io-auth)[kinde-oss/kinde-auth-php

Kinde PHP SDK for authentication

2369.5k3](/packages/kinde-oss-kinde-auth-php)

PHPackages © 2026

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