PHPackages                             manzhouya/auth-attempts - 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. manzhouya/auth-attempts

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

manzhouya/auth-attempts
=======================

Add captcha and login attempts for laravel-admin

1.2(7y ago)142.1k↓90%4[1 issues](https://github.com/manzhouya/auth-attempts/issues)[1 PRs](https://github.com/manzhouya/auth-attempts/pulls)MITHTMLPHP &gt;=7.0.0

Since Dec 7Pushed 3y agoCompare

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

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

Captcha and Login attempts for laravel-admin
============================================

[](#captcha-and-login-attempts-for-laravel-admin)

Add captcha and login attempts for laravel-admin

### Screenshot

[](#screenshot)

[![img](https://github.com/manzhouya/images/raw/master/images/1544165647.jpg?raw=true)](https://github.com/manzhouya/images/blob/master/images/1544165647.jpg?raw=true)

### Installation

[](#installation)

```
composer require manzhouya/auth-attempts

```

### Configuration

[](#configuration)

In the extensions section of the `config/admin.php` file, add configurations

```
'extensions' => [
     'auth-attempts' => [
         // set to false if you want to disable this extension
         'enable' => true,

         // configuration
         'maxAttempts'  => 5,
         'decayMinutes' => 1,
    ]
]

```

In the `resources/lang/en(example)/validation.php` file, add configurations

```
'captcha'    => 'The :attribute is invalid.',
'attributes' => [
    'captcha' => 'captcha',
],

```

If you need to modify the captcha configuration, please see [mews/captcha](https://github.com/mewebstudio/captcha)

And in the `config/captcha.php` file, add configurations

```
'admin' => [
    'length'    => 5,
    'width'     => 120,
    'height'    => 36,
    'quality'   => 90,
],

```

### Usage

[](#usage)

Open your login page in your browser

### License

[](#license)

Licensed under [The MIT License (MIT)](LICENSE).

###  Health Score

31

—

LowBetter than 66% of packages

Maintenance19

Infrequent updates — may be unmaintained

Popularity25

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity58

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 ~0 days

Total

3

Last Release

2755d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/42e3dadd71853849ebd5bd7ce66bfae78f00a64e0e7cc98548e91ecf3df8bbe4?d=identicon)[manzhouya](/maintainers/manzhouya)

---

Top Contributors

[![manzhouya](https://avatars.githubusercontent.com/u/29374760?v=4)](https://github.com/manzhouya "manzhouya (6 commits)")

---

Tags

extensionlaravel-adminauth-attempts

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/manzhouya-auth-attempts/health.svg)

```
[![Health](https://phpackages.com/badges/manzhouya-auth-attempts/health.svg)](https://phpackages.com/packages/manzhouya-auth-attempts)
```

###  Alternatives

[james.xue/login-captcha

laravel-admin 登录验证码

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

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

603.8k](/packages/asundust-auth-captcha)[iamtong/laravel-admin-login-check-safe

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

102.5k](/packages/iamtong-laravel-admin-login-check-safe)[ghost/google-authenticator

Google 两步验证码

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

PHPackages © 2026

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