PHPackages                             thecsea/twofactor-phpmyadmin - 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. thecsea/twofactor-phpmyadmin

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

thecsea/twofactor-phpmyadmin
============================

The most powerful and the simplest library to add two factor authentication by google authenticator to phmyadmin

v1.0.7(10y ago)117[1 issues](https://github.com/thecsea/twofactor-phpmyadmin/issues)GPL-2.0PHPPHP &gt;=5.3.0

Since Jul 29Pushed 10y ago1 watchersCompare

[ Source](https://github.com/thecsea/twofactor-phpmyadmin)[ Packagist](https://packagist.org/packages/thecsea/twofactor-phpmyadmin)[ Docs](http://www.thecsea.it/progetti/)[ RSS](/packages/thecsea-twofactor-phpmyadmin/feed)WikiDiscussions master Synced 1mo ago

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

twofactor-phpmyadmin
====================

[](#twofactor-phpmyadmin)

Build status: [![Latest Stable Version](https://camo.githubusercontent.com/7ec8d5f8c2f8d7a4a1c0854642c80f0cd37d52b5e7f405d793e7fefc6b1ab824/68747470733a2f2f706f7365722e707567782e6f72672f746865637365612f74776f666163746f722d7068706d7961646d696e2f762f737461626c65)](https://packagist.org/packages/thecsea/twofactor-phpmyadmin) [![Total Downloads](https://camo.githubusercontent.com/8fb1ed02abc0cd332a664d1b5ca94e1e6ba55c2ac29331ef7608fad73d3f6535/68747470733a2f2f706f7365722e707567782e6f72672f746865637365612f74776f666163746f722d7068706d7961646d696e2f646f776e6c6f616473)](https://packagist.org/packages/thecsea/twofactor-phpmyadmin) [![Latest Unstable Version](https://camo.githubusercontent.com/aad2751d8de9a9005de54ee3848adee4c1d51a9c228cc26e5d81e119ef8ce45b/68747470733a2f2f706f7365722e707567782e6f72672f746865637365612f74776f666163746f722d7068706d7961646d696e2f762f756e737461626c65)](https://packagist.org/packages/thecsea/twofactor-phpmyadmin) [![License](https://camo.githubusercontent.com/4a8c4a1d6fd993216fde76079cb434d4b28404b26727e90f47ccb6cc2142ad54/68747470733a2f2f706f7365722e707567782e6f72672f746865637365612f74776f666163746f722d7068706d7961646d696e2f6c6963656e7365)](https://packagist.org/packages/thecsea/twofactor-phpmyadmin)

The most powerful and the simplest library to add two factor authentication by google authenticator in phmyadmin

This project install automatically a phpmyadmin with twofactor via composer (download composer here ):

`php composer.phar require thecsea/twofactor-phpmyadmin `

When this readme is written, *phpmyadmin* package is not recognized as *stable*, so you cannot use require way but you have to clone repository

`git clone https://github.com/thecsea/twofactor-phpmyadmin.git`

and install it with composer

`php composer.phar install`

*twofactor-phpmyadmin* is based on [twofactor-dir library](https://github.com/thecsea/twofactor-dir), take a look to it to see how to use twofactor

Obviously when you perform an composer update the twofactor is reinstalled, so you could lose your secret.

Update: `php composer.phar update`

Credits
=======

[](#credits)

- [Sonata GoogleAuthenticator](https://github.com/sonata-project/GoogleAuthenticator): php library to use twofactor in the same way of google authenticator
- [twofactor dir](https://github.com/thecsea/twofactor-dir): php library to protect a dir via two factor
- [phpmyadmin](https://github.com/phpmyadmin/phpmyadmin): php library to manage a mysql server

By [thecsea.it](http://www.thecsea.it)
======================================

[](#by-thecseait)

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity63

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

Total

7

Last Release

3875d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/280e8cda025e47f1005450604314ec83a21dc771a405e64c071c9f4f5f822224?d=identicon)[carduz](/maintainers/carduz)

---

Top Contributors

[![carduz](https://avatars.githubusercontent.com/u/10631614?v=4)](https://github.com/carduz "carduz (12 commits)")

---

Tags

googleAuthenticationphpmyadmintwofactor

### Embed Badge

![Health badge](/badges/thecsea-twofactor-phpmyadmin/health.svg)

```
[![Health](https://phpackages.com/badges/thecsea-twofactor-phpmyadmin/health.svg)](https://phpackages.com/packages/thecsea-twofactor-phpmyadmin)
```

###  Alternatives

[google/auth

Google Auth Library for PHP

1.4k272.7M161](/packages/google-auth)[hwi/oauth-bundle

Support for authenticating users using both OAuth1.0a and OAuth2 in Symfony.

2.4k21.5M68](/packages/hwi-oauth-bundle)[hybridauth/hybridauth

PHP Social Authentication Library

3.4k8.5M93](/packages/hybridauth-hybridauth)[league/oauth2-google

Google OAuth 2.0 Client Provider for The PHP League OAuth2-Client

41721.2M118](/packages/league-oauth2-google)[kreait/firebase-tokens

A library to work with Firebase tokens

24040.8M14](/packages/kreait-firebase-tokens)[opauth/opauth

Multi-provider authentication framework for PHP

1.6k783.4k58](/packages/opauth-opauth)

PHPackages © 2026

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