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

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

sdelfi/yii2-invisible-recaptcha
===============================

Validates form post with Goolge Invisible Recaptcha

0.0.6(7y ago)02.9kBSD-3-ClausePHP

Since Mar 27Pushed 7y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (7)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

```
"sdelfi/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

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 50% 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 ~78 days

Total

6

Last Release

2583d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3b25b657063c89ab6ff4b10564a8955ab95665f23a37a8cd0d1857574f1d426d?d=identicon)[sdelfi](/maintainers/sdelfi)

---

Top Contributors

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

---

Tags

validationrecaptchayii2extension

### Embed Badge

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

```
[![Health](https://phpackages.com/badges/sdelfi-yii2-invisible-recaptcha/health.svg)](https://phpackages.com/packages/sdelfi-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)
