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

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

owenxyoung/google-authenticator
===============================

Google 两步验证码 Laravel-admin 扩展

v1.0.4(6y ago)08MITPHPPHP &gt;=7.1.0

Since Nov 22Pushed 4y agoCompare

[ Source](https://github.com/qcgzxw/google-authenticator)[ Packagist](https://packagist.org/packages/owenxyoung/google-authenticator)[ Docs](https://github.com/Ghost-die/google-authenticator)[ RSS](/packages/owenxyoung-google-authenticator/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (3)Versions (6)Used By (0)

Google 两步登陆验证
=============

[](#google-两步登陆验证)

### laravel-admin 后台验证插件

[](#laravel-admin-后台验证插件)

1. 相对于验证码，安全很多；几乎是不会存在破解的方法
2. 验证码有时候无法识别，不方便操作
3. 一机一码，不会存在账号盗用的问题
4. 动态验证，每30秒生产一个验证码，安全更加保障

> composer require ghost/google-authenticator

> php artisan migrate

```
'google-authenticator'=> [
    'enable' => true,
    'authenticatorname' => '' //名称
],
```

```
namespace App\Admin\Controllers;

use Ghost\GoogleAuthenticator\Http\Controllers\AuthController as BaseAuthController;
```

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 96.2% 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 ~31 days

Total

5

Last Release

2236d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/80c57a42651eda035791471efb0c34cbbe781c246771e1c56220ec782e985194?d=identicon)[owenxyoung](/maintainers/owenxyoung)

---

Top Contributors

[![ghost-die](https://avatars.githubusercontent.com/u/20829237?v=4)](https://github.com/ghost-die "ghost-die (25 commits)")[![linxbin](https://avatars.githubusercontent.com/u/16730660?v=4)](https://github.com/linxbin "linxbin (1 commits)")

---

Tags

extensionlaravel-admin

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[james.xue/login-captcha

laravel-admin 登录验证码

3725.4k](/packages/jamesxue-login-captcha)[asundust/auth-captcha

Sliding captcha for Laravel-Admin auth, Multiple platform support / Laravel-Admin登录 滑动验证插件 多平台支持

593.6k](/packages/asundust-auth-captcha)[ghost/google-authenticator

Google 两步验证码

122.5k](/packages/ghost-google-authenticator)[manzhouya/auth-attempts

Add captcha and login attempts for laravel-admin

142.1k](/packages/manzhouya-auth-attempts)[iamtong/laravel-admin-login-check-safe

登录添加验证码，后台用户锁定，错误次数过多锁定，密码强制修改，添加密码修改记录，登录日志

102.5k](/packages/iamtong-laravel-admin-login-check-safe)

PHPackages © 2026

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