PHPackages                             gladyshev/yii2-rucaptcha - 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. [Validation &amp; Sanitization](/categories/validation)
4. /
5. gladyshev/yii2-rucaptcha

ActiveYii2-extension[Validation &amp; Sanitization](/categories/validation)

gladyshev/yii2-rucaptcha
========================

Yii2 rucaptcha.com captcha recognition extension.

v1.0.1(8y ago)1101BSD-3-ClausePHPPHP &gt;=5.6

Since May 19Pushed 8y ago1 watchersCompare

[ Source](https://github.com/gladyshev/yii2-rucaptcha)[ Packagist](https://packagist.org/packages/gladyshev/yii2-rucaptcha)[ RSS](/packages/gladyshev-yii2-rucaptcha/feed)WikiDiscussions master Synced yesterday

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

Yii2 Rucaptcha Extension
========================

[](#yii2-rucaptcha-extension)

An extension for resolving captcha with [Rucaptcha.com](https://rucaptcha.com/?from=1342124). It's just a wrapped [gladyshev\\rucaptcha-client](https://github.com/gladyshev/rucaptcha-client) library.

Rucaptcha API documentation is at [official page](https://rucaptcha.com/api-rucaptcha?from=1342124).

[![Build Status](https://camo.githubusercontent.com/32b7f269d89b6899182e7ebd7676663f44b1dafbef37989e590a1069a758111b/68747470733a2f2f7472617669732d63692e6f72672f676c616479736865762f796969322d7275636170746368612e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/gladyshev/yii2-rucaptcha)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/4b06b020a8ca1db20e826fd60ccc2e6b2cf4e2e8336294014f1f6394e199bdf8/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f676c616479736865762f796969322d7275636170746368612f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/gladyshev/yii2-rucaptcha/?branch=master)

Installation
------------

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Either run

```
php composer.phar require --prefer-dist gladyshev/yii2-rucaptcha

```

or add

```
"gladyshev/yii2-rucaptcha": "*"

```

to the `require` section of your `composer.json` file.

Setup
-----

[](#setup)

Setup `rucaptcha` component in your configuration file:

```
    ...
    'components' => [
        ...
        'rucaptcha' => [
            'class' => 'gladyshev\yii\rucaptcha\Rucaptcha',
            'apiKey' => getenv('__RUCAPTCHA_KEY__'),
            'options' => [
                'verbose' => (YII_DEBUG === true)
            ]
        ],
        ...
    ],
    ...
```

Basic Usage
-----------

[](#basic-usage)

Recognize file or url:

```
$captchaText = Yii::$app->rucaptcha->recognizeFile('http://example.com/image.jpg');
```

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity60

Established project with proven stability

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

Total

3

Last Release

3165d ago

Major Versions

v0.0.1 → v1.0.02017-07-27

PHP version history (2 changes)v0.0.1PHP &gt;=5.6.0

v1.0.0PHP &gt;=5.6

### Community

Maintainers

![](https://www.gravatar.com/avatar/6ee9ba695159d6b854f55dd7ef9eb093a914547a3e1e57b2f0f32121feb8e2d2?d=identicon)[gladyshev](/maintainers/gladyshev)

---

Tags

yii2extensionyiianticaptcharucaptcha

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/gladyshev-yii2-rucaptcha/health.svg)

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

###  Alternatives

[kdn/yii2-domain-validator

Domain name validator for Yii 2.

11122.3k1](/packages/kdn-yii2-domain-validator)[nepstor/yii2-datetime-compare-validator

Yii2 validator for compare datetime.

1283.7k1](/packages/nepstor-yii2-datetime-compare-validator)

PHPackages © 2026

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