PHPackages                             baoziyoo/hyperf-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. baoziyoo/hyperf-captcha

ActiveLibrary

baoziyoo/hyperf-captcha
=======================

v1.0.2(2y ago)01.3k↓100%MITPHPPHP &gt;=7.3

Since Aug 8Pushed 2y ago1 watchersCompare

[ Source](https://github.com/baoziyo/hyperf-captcha)[ Packagist](https://packagist.org/packages/baoziyoo/hyperf-captcha)[ RSS](/packages/baoziyoo-hyperf-captcha/feed)WikiDiscussions master Synced 1mo ago

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

验证码组件
-----

[](#验证码组件)

用于生产验证码，支持自定义验证码字体，使用Composer安装

```
composer require baoziyoo/hyperf-captcha

php bin/hyperf.php vendor:publish baoziyoo/hyperf-captcha

```

生成
--

[](#生成)

初始化配置后即可生成验证码，可以随机生成，也可以指定需要生成的验证码

```
$captcha = new Captcha();

// 随机生成验证码
$captcha = $captcha->generateCode();

// 生成指定验证码
$captcha = $captcha->generateCode('MyCode');

```

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity44

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

Total

3

Last Release

990d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/a0fffd75f2a474a2d346f999385504738cfe62ae96b8edf7c20f48ebbc8ce700?d=identicon)[baozi](/maintainers/baozi)

---

Top Contributors

[![baoziyo](https://avatars.githubusercontent.com/u/35062657?v=4)](https://github.com/baoziyo "baoziyo (5 commits)")

---

Tags

phphyperf

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/baoziyoo-hyperf-captcha/health.svg)

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

###  Alternatives

[hyperf/hyperf-skeleton

A coroutine framework that focuses on hyperspeed and flexible, specifically use for build microservices and middlewares.

301187.4k](/packages/hyperf-hyperf-skeleton)[hyperf-ext/auth

The Hyperf Auth package.

2376.2k3](/packages/hyperf-ext-auth)

PHPackages © 2026

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