PHPackages                             desrodman/yii2-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. desrodman/yii2-google-authenticator

ActiveYii2-extension[Authentication &amp; Authorization](/categories/authentication)

desrodman/yii2-google-authenticator
===================================

2 step verification of google authenticator for your yii2 application

0340PHP

Since Sep 20Pushed 1y agoCompare

[ Source](https://github.com/DesRodman/yii2-google-authenticator)[ Packagist](https://packagist.org/packages/desrodman/yii2-google-authenticator)[ RSS](/packages/desrodman-yii2-google-authenticator/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (1)Used By (0)

Installation
============

[](#installation)

Add to composer.json

```
"desrodman/yii2-google-authenticator": "@dev"

```

or

```
composer require --prefer-dist "desrodman/yii2-google-authenticator @dev"

```

Once the extension is installed, simply modify your application configuration as follows:

```
'modules' => [

    ----------------

    'authenticator' => [
        'class' => 'desrodman\authenticator\Module',
        'twoStepVerification' => true,
    ],
],

--------------------

'bootstrap' => ['log', 'authenticator'],
```

Migrate Command:

```
yii migrate
php yii migrate --migrationPath=@desrodman/authenticator/migrations

```

You can then access Next Authenticator through the following URL:

```
http://localhost/path/to/index.php?r=authenticator/default/scan

```

or if you have enabled pretty URLs, you may use the following URL:

```
http://localhost/path/to/index.php/authenticator/default/scan

```

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance29

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity17

Early-stage or recently created project

 Bus Factor1

Top contributor holds 50% 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/0d4940f069399ba5480a35b932662a1ed3ace8301943ec4b152d31e50024c29f?d=identicon)[DesRodman](/maintainers/DesRodman)

---

Top Contributors

[![DesRodman](https://avatars.githubusercontent.com/u/4581193?v=4)](https://github.com/DesRodman "DesRodman (9 commits)")[![nextvikas](https://avatars.githubusercontent.com/u/23698573?v=4)](https://github.com/nextvikas "nextvikas (9 commits)")

### Embed Badge

![Health badge](/badges/desrodman-yii2-google-authenticator/health.svg)

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

###  Alternatives

[namshi/jose

JSON Object Signing and Encryption library for PHP.

1.8k99.6M101](/packages/namshi-jose)[league/oauth1-client

OAuth 1.0 Client Library

99698.8M106](/packages/league-oauth1-client)[bezhansalleh/filament-shield

Filament support for `spatie/laravel-permission`.

2.8k2.9M88](/packages/bezhansalleh-filament-shield)[gesdinet/jwt-refresh-token-bundle

Implements a refresh token system over Json Web Tokens in Symfony

70516.4M35](/packages/gesdinet-jwt-refresh-token-bundle)[league/oauth2-google

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

41721.2M118](/packages/league-oauth2-google)[illuminate/auth

The Illuminate Auth package.

9327.3M1.0k](/packages/illuminate-auth)

PHPackages © 2026

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