PHPackages                             mowzss/think-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. mowzss/think-captcha

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

mowzss/think-captcha
====================

captcha package for thinkphp5

2.0.1(1y ago)037Apache-2.0PHP

Since Jul 14Pushed 1y ago1 watchersCompare

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

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

think-captcha
=============

[](#think-captcha)

thinkphp5.1 验证码类库

安装
--

[](#安装)

> composer require topthink/think-captcha

\##使用

\###模板里输出验证码

```
{:captcha_img()}

```

或者

```

```

> 上面两种的最终效果是一样的

### 控制器里验证

[](#控制器里验证)

使用TP5的内置验证功能即可

```
$this->validate($data,[
    'captcha|验证码'=>'require|captcha'
]);

```

或者手动验证

```
if(!captcha_check($captcha)){
 //验证失败
};
~~~# think-captcha

```

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance33

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity40

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

Unknown

Total

1

Last Release

668d ago

### Community

Maintainers

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

---

Top Contributors

[![sunBoyGit](https://avatars.githubusercontent.com/u/234315545?v=4)](https://github.com/sunBoyGit "sunBoyGit (3 commits)")

### Embed Badge

![Health badge](/badges/mowzss-think-captcha/health.svg)

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

###  Alternatives

[dater/dater

Compact PHP library for working with date/time in different formats &amp; timezones.

14282.3k](/packages/dater-dater)[overtrue/laravel-vote

User Vote features for Laravel Application.

12416.5k](/packages/overtrue-laravel-vote)[consoletvs/support

ConsoleTVs support library

27300.4k8](/packages/consoletvs-support)[tonyhhyip/sse

An easy-to-use, object-oriented library for Server-Sent Events

24165.9k2](/packages/tonyhhyip-sse)[snscripts/itc-reporter

PHP package for downloading stats from iTunes Connect - Replacement for Apples Java based Reporter.jar

2241.0k](/packages/snscripts-itc-reporter)[wpackio/enqueue

API to enqueue assets generated by @wpackio/scripts into your WordPress plugin or theme.

1278.3k5](/packages/wpackio-enqueue)

PHPackages © 2026

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