PHPackages                             sknny/yii2-recaptcha-widget - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. sknny/yii2-recaptcha-widget

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

sknny/yii2-recaptcha-widget
===========================

A Yii2 widget for integrating Google reCAPTCHA.

00PHP

Since Jan 9Pushed 1y ago1 watchersCompare

[ Source](https://github.com/Sknny/yii2-recaptcha-widget)[ Packagist](https://packagist.org/packages/sknny/yii2-recaptcha-widget)[ RSS](/packages/sknny-yii2-recaptcha-widget/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Yii2 Recaptcha Widget
=====================

[](#yii2-recaptcha-widget)

A simple widget for integrating Google reCAPTCHA into Yii2 projects.

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

[](#installation)

```
composer require sknny/yii2-recaptcha-widget
```

1. Add the component to your configuration:

    ```
    'components' => [
        'recaptcha' => [
            'class' => 'app\\components\\Recaptcha',
            'siteKey' => 'siteKey',
            'secretKey' => 'secretKey',
        ],
    ],
    ```
2. Use the widget in your view:

    ```

    ```

###  Health Score

13

—

LowBetter than 1% of packages

Maintenance32

Infrequent updates — may be unmaintained

Popularity0

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity16

Early-stage or recently created project

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/0107b7bda8039699f22316f330a0610a3f8e4cbf9c4ffb7bf1c123048afc266f?d=identicon)[Sknny](/maintainers/Sknny)

### Embed Badge

![Health badge](/badges/sknny-yii2-recaptcha-widget/health.svg)

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

###  Alternatives

[leafo/lessphp

lessphp is a compiler for LESS written in PHP.

2.2k8.2M141](/packages/leafo-lessphp)[realrashid/sweet-alert

Laravel Sweet Alert Is A Package For Laravel Provides An Easy Way To Display Alert Messages Using The SweetAlert2 Library.

1.2k2.9M21](/packages/realrashid-sweet-alert)[symfony/polyfill-php55

Symfony polyfill backporting some PHP 5.5+ features to lower PHP versions

10731.7M9](/packages/symfony-polyfill-php55)[helmich/typo3-typoscript-lint

Static code analysis for the TypoScript configuration language.

902.9M241](/packages/helmich-typo3-typoscript-lint)[cyclonedx/cyclonedx-php-composer

Creates CycloneDX Software Bill-of-Materials (SBOM) from PHP Composer projects

821.6M17](/packages/cyclonedx-cyclonedx-php-composer)[kartik-v/yii2-widget-touchspin

A Yii2 wrapper widget for the Bootstrap Switch plugin to use checkboxes &amp; radios as toggle touchspines (sub repo split from yii2-widgets)

184.1M6](/packages/kartik-v-yii2-widget-touchspin)

PHPackages © 2026

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