PHPackages                             bariew/yii2-invisible-recaptcha - 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. bariew/yii2-invisible-recaptcha

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

bariew/yii2-invisible-recaptcha
===============================

Validates form post with Goolge Invisible Recaptcha

0.0.3(7y ago)217.2k↓35%4[1 issues](https://github.com/bariew/yii2-invisible-recaptcha/issues)BSD-3-ClausePHP

Since Mar 27Pushed 7y ago1 watchersCompare

[ Source](https://github.com/bariew/yii2-invisible-recaptcha)[ Packagist](https://packagist.org/packages/bariew/yii2-invisible-recaptcha)[ RSS](/packages/bariew-yii2-invisible-recaptcha/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (4)Used By (0)

Yii2 invisible recaptcha component
==================================

[](#yii2-invisible-recaptcha-component)

Validates your ActiveForm using Google invisible-recaptcha

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

[](#installation)

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

Either run

```
php composer.phar require --prefer-dist bariew/yii2-invisible-recaptcha "*"

```

or add

```
"bariew/yii2-invisible-recaptcha": "*"

```

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

Usage
-----

[](#usage)

1. Set application config params:

```
    'params' => [
    ...
        'invisible-recaptcha-key' => '',
        'invisible-recaptcha-secret'  => ''
    ]

```

2. Add verification attribute and a validation rule into your model rules:

```
    public $verifyCode;

    /**
     * @inheritdoc
     */
    public function rules()
    {
        return [
            ...
            ['verifyCode', InvisibleRecaptchaValidator::className(), 'message' => 'Invalid captcha value'],
        ];
    }

```

3. Use widget instead of ActiveForm submit button in your view:

```

```

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance10

Infrequent updates — may be unmaintained

Popularity31

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity55

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

Every ~159 days

Total

3

Last Release

2656d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/8214f36975034f4134506744cd956e8415491006c1b3512af22bf75f91165f06?d=identicon)[bariew](/maintainers/bariew)

---

Top Contributors

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

---

Tags

validationrecaptchayii2extension

### Embed Badge

![Health badge](/badges/bariew-yii2-invisible-recaptcha/health.svg)

```
[![Health](https://phpackages.com/badges/bariew-yii2-invisible-recaptcha/health.svg)](https://phpackages.com/packages/bariew-yii2-invisible-recaptcha)
```

###  Alternatives

[karser/karser-recaptcha3-bundle

Google ReCAPTCHA v3 for Symfony

1862.4M7](/packages/karser-karser-recaptcha3-bundle)[codeonyii/yii2-at-least-validator

Validates at least one (or more) attributes.

28253.5k1](/packages/codeonyii-yii2-at-least-validator)[bryglen/yii2-validators

credit card validation yii 2

1426.7k](/packages/bryglen-yii2-validators)

PHPackages © 2026

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