PHPackages                             micsay/yii2-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. micsay/yii2-captcha

ActiveYii2-extension

micsay/yii2-captcha
===================

yii2-captcha for restful api by returning image's base64 extend yii/captcha/CaptchaAction

1.1(9y ago)42222[1 issues](https://github.com/micsay/yii2-captcha/issues) Apache License 2.0PHP

Since Nov 8Pushed 9y ago1 watchersCompare

[ Source](https://github.com/micsay/yii2-captcha)[ Packagist](https://packagist.org/packages/micsay/yii2-captcha)[ RSS](/packages/micsay-yii2-captcha/feed)WikiDiscussions master Synced 2mo ago

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

yii2-captcha
============

[](#yii2-captcha)

\###installation `php composer.phar require micsay/yii2-captcha ~1.1`\###Usage

```
use micsay\captcha\CaptchaBuilder;
\\...

public function actionCaptcha(){
    $captcha = new CaptchaBuilder();
    $verifycode = $captcha->getPharse();
    $base64 = $captcha->base64();
    return $base64;
}

```

\###API

```
    $captcha = new CaptchaBuilder();
    $captcha->minLength = 4;
    $captcha->maxLength = 5;
    $captcha->foreColor = 0x00ff00;
    $captcha->width = 80;
    $captcha->height = 45;

```

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance15

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity64

Established project with proven stability

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

Total

2

Last Release

3470d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/95c0933187b26b58eb783905d6d72f76766174078a01a13ed894320bd95b1bba?d=identicon)[micsay](/maintainers/micsay)

---

Top Contributors

[![micsay](https://avatars.githubusercontent.com/u/18065862?v=4)](https://github.com/micsay "micsay (10 commits)")

---

Tags

base64captchayii2extensionrestful

### Embed Badge

![Health badge](/badges/micsay-yii2-captcha/health.svg)

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

###  Alternatives

[linslin/yii2-curl

Easy and nice cURL extension with RESTful support for Yii2

1811.5M20](/packages/linslin-yii2-curl)[light/yii2-swagger

swagger intergation with yii2

154801.6k4](/packages/light-yii2-swagger)[juliardi/yii2-captcha

Captcha library wrapper for Yii2

167.9k](/packages/juliardi-yii2-captcha)[ignatenkovnikita/yii2-swagger

Swagger UI v3 intergation with yii2

128.0k](/packages/ignatenkovnikita-yii2-swagger)

PHPackages © 2026

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