PHPackages                             jianhuawang/login-captcha - 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. jianhuawang/login-captcha

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

jianhuawang/login-captcha
=========================

laravel-admin 登录验证码

1.1.1(3y ago)025MITPHPPHP &gt;=7.0.0

Since Mar 24Pushed 3y agoCompare

[ Source](https://github.com/jianhuawang/login-captcha)[ Packagist](https://packagist.org/packages/jianhuawang/login-captcha)[ Docs](https://github.com/jianhuawang/login-captcha)[ Fund](http://james.dmzfa.com/about#pay)[ RSS](/packages/jianhuawang-login-captcha/feed)WikiDiscussions master Synced 1mo ago

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

laravel-admin login-captch
==========================

[](#laravel-admin-login-captch)

Installation First, install dependencies:

```
composer require jianhuawang/login-captcha

```

Configuration In the extensions section of the config/admin.php file, add some configuration that belongs to this extension.

```
'name' => 'Laravel Admin',
'html_name' => 'Laravel AdminLogin Catpcha', // Set title by html code. this value is higher priority then "name".

'logo_img' => '/image/logo.png', // set Logo image on the "name" left.

'extensions' => [
 'login-captcha' => [
     // set to false if you want to disable this extension
     'enable' => true,
 ]
]

```

### 修改中文

[](#修改中文)

```
php artisan vendor:publish --tag=lang

```

### 导出验证码配置文件。Export Captchat config file.

[](#导出验证码配置文件export-captchat-config-file)

```
php artisan vendor:publish --provider="Mews\Captcha\CaptchaServiceProvider"

在配置目录下会生成一个验证码配置文件：
config/catpcha.php

修改配置
```php
...
'admin' => [
    'length' => 4,
    'width' => 120,
    'height' => 36,
    'quality' => 90,
    'math' => false,
    'expire' => 60,
    'encrypt' => false,
],
...
```

```

### 修改标题样式

[](#修改标题样式)

```
在admin.php中添加html_name可以输入html标签

```

```
...
   'name' => 'Laravel Admin',
   'html_name' => 'Laravel Adminlogin captcha',
...
```

### 输入框背景透明化

[](#输入框背景透明化)

在config/admin.php 中添加

```
'background' => true,

```

### 注意事项

[](#注意事项)

   Version Laravel-Admin Version   ^1.7.1 &lt; 1.6.10   ^1.8 1.6.10 &lt;= 1.7   ^2.0 &gt;= 1.7

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity42

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 71.4% 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 ~3 days

Total

3

Last Release

1139d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/146eccedb9435ac25ed6cc131d30f8061f33b87c86e0e7740a9550a7c7dfb840?d=identicon)[jianhuawang](/maintainers/jianhuawang)

---

Top Contributors

[![xiaoxuan6](https://avatars.githubusercontent.com/u/32762220?v=4)](https://github.com/xiaoxuan6 "xiaoxuan6 (5 commits)")[![jianhuawang](https://avatars.githubusercontent.com/u/16495687?v=4)](https://github.com/jianhuawang "jianhuawang (2 commits)")

---

Tags

extensionlaravel-adminlogin-captcha

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/jianhuawang-login-captcha/health.svg)

```
[![Health](https://phpackages.com/badges/jianhuawang-login-captcha/health.svg)](https://phpackages.com/packages/jianhuawang-login-captcha)
```

###  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)[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)[lake/login-captcha

Dcat-admin login captcha extension. / Dcat-admin 登录验证码。

324.5k](/packages/lake-login-captcha)[ghost/google-authenticator

Google 两步验证码

122.5k](/packages/ghost-google-authenticator)

PHPackages © 2026

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