PHPackages                             defender/captcha-lumen - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. defender/captcha-lumen

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

defender/captcha-lumen
======================

captcha for lumen

0604PHP

Since Jun 2Pushed 5y agoCompare

[ Source](https://github.com/guchangsheng/defender_captcha)[ Packagist](https://packagist.org/packages/defender/captcha-lumen)[ RSS](/packages/defender-captcha-lumen/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependenciesVersions (1)Used By (0)

Captcha for Lumen 兼容支持lumen 5.5

基于 [Captcha for Laravel 5](https://github.com/mewebstudio/captcha) 和 [lumen-captcha](https://github.com/aishan/lumen-captcha)的修正

\#启用cache###env配置如下 CACHE\_DRIVER=redis REDIS\_HOST=127.0.0.1 REDIS\_PORT= REDIS\_PASSWORD=

\####config配置文件 \*拷贝config目录下的captcha.php image.php到那项目config目录

\##注册 #bootstrap目录下的app.php添加如下 $app-&gt;configure('image'); $app-&gt;configure('captcha'); $app-&gt;register(Yangbx\\CaptchaLumen\\CaptchaServiceProvider::class);

Preview
-------

[](#preview)

[![Preview](https://camo.githubusercontent.com/e5ebfe735c8c3845df743219a60cb26c43754c66b6547dce56f8e82c64e8b261/687474703a2f2f692e696d6775722e636f6d2f485974723734342e706e67)](https://camo.githubusercontent.com/e5ebfe735c8c3845df743219a60cb26c43754c66b6547dce56f8e82c64e8b261/687474703a2f2f692e696d6775722e636f6d2f485974723734342e706e67)

\###创建路由

/\*\*\*\*\*\*\*\*\*\*\*\*/ $api-&gt;group(\['namespace' =&gt; 'Yangbx\\CaptchaLumen'\],function($api){ //验证码 $api-&gt;get('Info/{type}', \['as' =&gt; 'captcha', 'uses' =&gt; 'LumenCaptchaController@getCaptchaInfo'\]); $api-&gt;get('captcha/{type}/{captchaId}', \['uses' =&gt; 'LumenCaptchaController@getCaptcha'\]);

```
});

```

Links
-----

[](#links)

- [Intervention Image](https://github.com/Intervention/image)
- [L5 Captcha on Github](https://github.com/mewebstudio/captcha)
- [L5 Captcha on Packagist](https://packagist.org/packages/mews/captcha)
- [For L4 on Github](https://github.com/mewebstudio/captcha/tree/master-l4)
- [License](http://www.opensource.org/licenses/mit-license.php)
- [Laravel website](http://laravel.com)
- [Laravel Turkiye website](http://www.laravel.gen.tr)
- [MeWebStudio website](http://www.mewebstudio.com)

###  Health Score

19

—

LowBetter than 9% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity30

Early-stage or recently created project

 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.

### Community

Maintainers

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

---

Top Contributors

[![guchangsheng](https://avatars.githubusercontent.com/u/28506312?v=4)](https://github.com/guchangsheng "guchangsheng (1 commits)")

### Embed Badge

![Health badge](/badges/defender-captcha-lumen/health.svg)

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

PHPackages © 2026

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