PHPackages                             evgen-dev/google-authenticator - 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. evgen-dev/google-authenticator

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

evgen-dev/google-authenticator
==============================

Laravel/GoogleAuthenticator - generate and check OTP

v0.1.2(1y ago)22MITPHPPHP &gt;=8.2.0

Since Feb 6Pushed 1y agoCompare

[ Source](https://github.com/evgen-dev/google-authenticator)[ Packagist](https://packagist.org/packages/evgen-dev/google-authenticator)[ RSS](/packages/evgen-dev-google-authenticator/feed)WikiDiscussions master Synced today

READMEChangelog (1)Dependencies (1)Versions (3)Used By (0)

Laravel 10.x simple Google Authenticator 2FA auth support.

Installation
------------

[](#installation)

Install using composer

```
composer require evgen-dev/google-authenticator
```

Add the provider to `config/app.php`

```
'providers' => [
    EvgenDev\GoogleAuthenticator\GoogleAuthenticatorServiceProvider::class,
]
```

Using
=====

[](#using)

```
use EvgenDev\GoogleAuthenticator\Facades\GoogleAuthenticator;

GoogleAuthenticator::getCode('YOUR_SECRET_STRING');
GoogleAuthenticator::checkCode('YOUR_SECRET_STRING', 'YOUR_CODE');
GoogleAuthenticator::getQRCodeUrl('username', 'example.org', 'YOUR_SECRET_STRING');
GoogleAuthenticator::generateSecret();
```

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance40

Moderate activity, may be stable

Popularity5

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity42

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 90.5% 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 ~0 days

Total

2

Last Release

512d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/10253845?v=4)[Евгений](/maintainers/evgen-dev)[@evgen-dev](https://github.com/evgen-dev)

---

Top Contributors

[![chregu](https://avatars.githubusercontent.com/u/47106?v=4)](https://github.com/chregu "chregu (19 commits)")[![Jemixs](https://avatars.githubusercontent.com/u/16440239?v=4)](https://github.com/Jemixs "Jemixs (1 commits)")[![jhitesma](https://avatars.githubusercontent.com/u/2054286?v=4)](https://github.com/jhitesma "jhitesma (1 commits)")

---

Tags

laravelgoogle authenticatorotp

### Embed Badge

![Health badge](/badges/evgen-dev-google-authenticator/health.svg)

```
[![Health](https://phpackages.com/badges/evgen-dev-google-authenticator/health.svg)](https://phpackages.com/packages/evgen-dev-google-authenticator)
```

###  Alternatives

[directorytree/ldaprecord-laravel

LDAP Authentication &amp; Management for Laravel.

5752.3M18](/packages/directorytree-ldaprecord-laravel)[fouladgar/laravel-otp

This package provides convenient methods for sending and validating OTP notifications to users for authentication.

21227.6k](/packages/fouladgar-laravel-otp)[masterix21/laravel-licensing

Laravel licensing package with polymorphic assignment to any model, activation keys, expirations/renewals, and seat control via LicenseUsage. Supports offline verification with public-key–signed tokens, a CLI to generate/rotate/revoke keys, and an extensible architecture via config and contracts.

1563.0k4](/packages/masterix21-laravel-licensing)[craftsys/msg91-laravel

Laravel service provider for Msg91 apis to Send OTPs, Verify OTPs, Resend OTPs, Send SMS (Short Message) etc

13103.9k2](/packages/craftsys-msg91-laravel)

PHPackages © 2026

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