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

ActiveLibrary

senger/google-2fa
=================

Autenticação em 2 fatores

v1.0(5y ago)131MITPHPPHP ^5.5.9 || ^7.0 || ^8.0

Since Jul 17Pushed 5y ago1 watchersCompare

[ Source](https://github.com/LeandroSenger/google-2fa)[ Packagist](https://packagist.org/packages/senger/google-2fa)[ RSS](/packages/senger-google-2fa/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

Package - for 2-factor authentication
=====================================

[](#package---for-2-factor-authentication)

A One Time Password Authentication package, compatible with Google Authenticator.

Ex:
===

[](#ex)

use Senger\\Google2fa\\GoogleAuthenticator;
-------------------------------------------

[](#use-sengergoogle2fagoogleauthenticator)

$ga = new GoogleAuthenticator();

$secret = $ga-&gt;createSecret();

$ga-&gt;verifyCode($secret, $gacode, 1);

Google 2fa.

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

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

Unknown

Total

1

Last Release

2131d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/d6d511d18422cd6e664b705deed576d868e9e462d11bf77bb949ce44745853ae?d=identicon)[leandro.senger](/maintainers/leandro.senger)

---

Top Contributors

[![LeandroSenger](https://avatars.githubusercontent.com/u/32721845?v=4)](https://github.com/LeandroSenger "LeandroSenger (19 commits)")

### Embed Badge

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

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

PHPackages © 2026

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