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

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

yzh52521/webman-captcha
=======================

captcha package for webman plugin

v0.1.6(3y ago)2191Apache-2.0PHPPHP &gt;=7.4

Since Mar 25Pushed 3y ago1 watchersCompare

[ Source](https://github.com/yzh52521/webman-captcha)[ Packagist](https://packagist.org/packages/yzh52521/webman-captcha)[ RSS](/packages/yzh52521-webman-captcha/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (7)Dependencies (1)Versions (8)Used By (0)

webman-captcha
==============

[](#webman-captcha)

webman 验证码类库 支持前后端分离，api接口调用

安装
--

[](#安装)

> composer require yzh52521/webman-captcha

使用
--

[](#使用)

```
public function captcha()
{
   return yzh52521\captcha\facade\Captcha::create();
}

```

### 生成结果

[](#生成结果)

```
{
  "key": "Qh8kHYF4C....",//验证码key
  "value": "data:image/jpeg;base64,/9j/...."//base64验证码图片 -- 前端渲染显示
}

```

### 验证

[](#验证)

```
if (!yzh52521\captcha\facade\Captcha::check($data['verify'], $data['key'])) {
   throw new \Exception('验证码错误');
}

```

###  Health Score

22

—

LowBetter than 23% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity43

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

Recently: every ~85 days

Total

7

Last Release

1108d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/052aa4acd90ad5d672ae5abe8d27d1f576f9c07e1967e2f6bced03b84079310f?d=identicon)[yuanzhihai](/maintainers/yuanzhihai)

---

Top Contributors

[![yuanzhihai](https://avatars.githubusercontent.com/u/15060466?v=4)](https://github.com/yuanzhihai "yuanzhihai (18 commits)")

### Embed Badge

![Health badge](/badges/yzh52521-webman-captcha/health.svg)

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

###  Alternatives

[tinywan/exception-handler

webman exception handler plugin

1610.1k2](/packages/tinywan-exception-handler)

PHPackages © 2026

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