PHPackages                             sonhineboy/dcatadminlogincaptcha - 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. sonhineboy/dcatadminlogincaptcha

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

sonhineboy/dcatadminlogincaptcha
================================

dcat-admin plugins loginCaptcha.

1.0.2(6y ago)19463MITPHPPHP &gt;=7.1.0CI failing

Since May 21Pushed 6y ago1 watchersCompare

[ Source](https://github.com/sonhineboy/dcatadminlogincaptcha)[ Packagist](https://packagist.org/packages/sonhineboy/dcatadminlogincaptcha)[ Docs](https://github.com/sonhineboy/dcatadminlogincaptcha)[ RSS](/packages/sonhineboy-dcatadminlogincaptcha/feed)WikiDiscussions master Synced 3w ago

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

描述 🛰️
-----

[](#描述-artificial_satellite)

是专门为 [dcat-admin](https://github.com/jqhph/dcat-admin)开发的扩展，主要功能有以下

- 登录限流

    - 登录次数（可配置）
    - 如果超出登录次数间隔限制（可配置）
- 验证码功能

    - verify5 (已集成)
- 图形验证码（未集成）

    - 其它（陆续更新请持续关注）

如果喜欢请 猛击star

依赖
--

[](#依赖)

- "php" : "&gt;=7.1.0",
- "dcat/laravel-admin" : "\*",
- "guzzlehttp/guzzle" : "~6.5"

使用方法:crossed\_fingers:
----------------------

[](#使用方法crossed_fingers)

- 1、composer 安装

```
composer require sonhineboy/dcatadminlogincaptcha
```

- 2、配置文件配置
    - config/admin-extensions.php 里添加

```
'login-captcha' => [
        'enable' => true, //是否开启
    	'maxAttempts'=>10 ,//密码错误尝试次数
    	'decayMinutes'=>10 , //超过尝试次数后间隔时间
        'config' => [
            'v5' =>[ //key不允许改变
                'enable' => true,//是否开启
                'host'  => '...',
                'token' => '...',
                'app_id'=> '...',
                'app_key'=> '..',
                'name'   => 'login-v5'//对应字段的name
            ]
        ]
    ],
```

- 3、效果

    [![](https://github.com/sonhineboy/dcatadminlogincaptcha/raw/master/2.png)](https://github.com/sonhineboy/dcatadminlogincaptcha/blob/master/2.png)[![](https://github.com/sonhineboy/dcatadminlogincaptcha/raw/master/1.png)](https://github.com/sonhineboy/dcatadminlogincaptcha/blob/master/1.png)

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 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

Every ~1 days

Total

3

Last Release

2232d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/17606875?v=4)[wangke](/maintainers/sonhineboy)[@sonhineboy](https://github.com/sonhineboy)

---

Top Contributors

[![sonhineboy](https://avatars.githubusercontent.com/u/17606875?v=4)](https://github.com/sonhineboy "sonhineboy (15 commits)")

---

Tags

dcatdcat-admin pluginsloginCaptcha

### Embed Badge

![Health badge](/badges/sonhineboy-dcatadminlogincaptcha/health.svg)

```
[![Health](https://phpackages.com/badges/sonhineboy-dcatadminlogincaptcha/health.svg)](https://phpackages.com/packages/sonhineboy-dcatadminlogincaptcha)
```

###  Alternatives

[aws/aws-sdk-php

AWS SDK for PHP - Use Amazon Web Services in your PHP project

6.3k543.5M2.6k](/packages/aws-aws-sdk-php)[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k656.1k38](/packages/neuron-core-neuron-ai)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3741.3M47](/packages/tencentcloud-tencentcloud-sdk-php)[tempest/framework

The PHP framework that gets out of your way.

2.2k34.4k15](/packages/tempest-framework)[ellaisys/aws-cognito

Laravel Authentication using AWS Cognito (Web and API)

123256.9k1](/packages/ellaisys-aws-cognito)[eslazarev/wildberries-sdk

Wildberries OpenAPI clients (generated).

273.0k](/packages/eslazarev-wildberries-sdk)

PHPackages © 2026

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