PHPackages                             efremovp/yii2-ya-smart-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. [Security](/categories/security)
4. /
5. efremovp/yii2-ya-smart-captcha

ActiveLibrary[Security](/categories/security)

efremovp/yii2-ya-smart-captcha
==============================

Yandex Smart Captcha integration for Yii2

v1.0.5(1y ago)21.1k↓50%MITPHPPHP &gt;=7.1

Since Oct 15Pushed 1y ago1 watchersCompare

[ Source](https://github.com/efremovP/yii2-ya-smart-captcha)[ Packagist](https://packagist.org/packages/efremovp/yii2-ya-smart-captcha)[ RSS](/packages/efremovp-yii2-ya-smart-captcha/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (5)DependenciesVersions (6)Used By (0)

Yandex Smart Captcha integration for Yii2
-----------------------------------------

[](#yandex-smart-captcha-integration-for-yii2)

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

[](#installation)

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

Either run

```
php composer.phar require --prefer-dist efremovp/yii2-ya-smart-captcha "*"

```

or add

```
"efremovp/yii2-ya-smart-captcha": "*"
```

to the require section of your composer.json.

Configuration
-------------

[](#configuration)

To use this extension, you have to configure the Connection class in your application configuration (params-local.php):

```
return [
    //....
    'ya_captcha' => [
        'error_message' => 'Подтвердите, что вы не бот.',
        'client_key' => '******',
        'server_key' => '******'
    ],
];
```

### How to get keys

[](#how-to-get-keys)

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

[](#basic-usage)

Add widget to views

```

```

Add rules and yaCaptcha field to form model

```

    function successCaptchaCallback() {
        console.log('captcha is success');
    };

```

### Add language, (default ru)

[](#add-language-default-ru)

```

```

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance36

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity38

Early-stage or recently created project

 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

5

Last Release

579d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3abe790ae29288a9ced1ade9fd9b3848a05231c8ebeb1eb584344a488788d5c0?d=identicon)[pyt\_on](/maintainers/pyt_on)

---

Top Contributors

[![efremovP](https://avatars.githubusercontent.com/u/11133012?v=4)](https://github.com/efremovP "efremovP (2 commits)")

---

Tags

phpcaptchayiiyandexsmartcaptchasmart captcha

### Embed Badge

![Health badge](/badges/efremovp-yii2-ya-smart-captcha/health.svg)

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

###  Alternatives

[fabianwennink/iconcaptcha

IconCaptcha is a self-hosted, customizable, easy-to-implement and user-friendly captcha.

17740.5k1](/packages/fabianwennink-iconcaptcha)[lorddashme/php-simple-captcha

A simple captcha package that fit to any type of web application built on php.

102.9k](/packages/lorddashme-php-simple-captcha)[mohammadv184/arcaptcha

PHP library for ArCaptcha

102.3k1](/packages/mohammadv184-arcaptcha)

PHPackages © 2026

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