PHPackages                             choate/yii-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. choate/yii-captcha

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

choate/yii-captcha
==================

Yii2 extension captcha

1.0.0(9y ago)06BSDPHPPHP &gt;=5.5.0

Since Apr 21Pushed 9y ago1 watchersCompare

[ Source](https://github.com/Choate/yii-captcha)[ Packagist](https://packagist.org/packages/choate/yii-captcha)[ RSS](/packages/choate-yii-captcha/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (1)Versions (2)Used By (0)

Yii2-captcha
============

[](#yii2-captcha)

增加验证码类型：字母、字符、数字

安装
==

[](#安装)

基于composer安装

`php composer.phar require choate/yii-captcha`

使用
==

[](#使用)

```
class DemoController {
    public function actions() {
        return [
            'captcha' => [
                'class' => '\choate\yii\captcha\CaptchaAction',
                'style' => \choate\yii\captcha\CaptchaAction::STYLE_ALPHA
                //'style' => \choate\yii\captcha\CaptchaAction::STYLE_DIGIT
                //'style' => \choate\yii\captcha\CaptchaAction::STYLE_ALNUM
            ],
        ];
    }
}
```

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

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

3356d ago

### Community

Maintainers

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

### Embed Badge

![Health badge](/badges/choate-yii-captcha/health.svg)

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

###  Alternatives

[craftcms/cms

Craft CMS

3.6k3.6M2.9k](/packages/craftcms-cms)

PHPackages © 2026

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