PHPackages                             luyadev/luya-forms-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. [Validation &amp; Sanitization](/categories/validation)
4. /
5. luyadev/luya-forms-captcha

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

luyadev/luya-forms-captcha
==========================

Captcha Block for LUYA Forms Module

2.0.0(2y ago)02.6k1MITPHP

Since Jun 2Pushed 2y agoCompare

[ Source](https://github.com/luyadev/luya-forms-captcha)[ Packagist](https://packagist.org/packages/luyadev/luya-forms-captcha)[ RSS](/packages/luyadev-luya-forms-captcha/feed)WikiDiscussions master Synced today

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

 [![LUYA Logo](https://raw.githubusercontent.com/luyadev/luya/master/docs/logo/luya-logo-0.2x.png)](https://raw.githubusercontent.com/luyadev/luya/master/docs/logo/luya-logo-0.2x.png)

LUYA Captcha Block for Forms Module
===================================

[](#luya-captcha-block-for-forms-module)

[![LUYA](https://camo.githubusercontent.com/c30b61934591d3a6fcb8718a93fd61bf840c0abd8a8d49aa0fdd4ab99567bdf4/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f506f776572656425323062792d4c5559412d627269676874677265656e2e737667)](https://luya.io)[![Maintainability](https://camo.githubusercontent.com/7f022fdb25c5745422ce9004ac04a0ddbdf3a9e9f05ab70c331217bc54b643d6/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f64316439633763656263613334386534373761622f6d61696e7461696e6162696c697479)](https://codeclimate.com/github/luyadev/luya-forms-captcha/maintainability)[![Test Coverage](https://camo.githubusercontent.com/c92ac5688bec1ede1a9c5f69b45e62268153f0ea64499a5912f721aa1c197fe4/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f64316439633763656263613334386534373761622f746573745f636f766572616765)](https://codeclimate.com/github/luyadev/luya-forms-captcha/test_coverage)[![Tests](https://github.com/luyadev/luya-forms-captcha/actions/workflows/tests.yml/badge.svg)](https://github.com/luyadev/luya-forms-captcha/actions/workflows/tests.yml)

This package contains a Google ReCapchta3 Block which can be used in combination with [LUYA Forms Module](https://github.com/luyadev/luya-module-forms).

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

[](#installation)

Install the extension through composer:

```
composer require luyadev/luya-forms-captcha
```

Run the import command afterwards:

```
./luya import
```

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

[](#configuration)

Ensure you have configured the [himiklab(fork) recaptcha library](https://github.com/luyadev/yii2-recaptcha-widget) in your config:

```
'components' => [
    //...
    'reCaptcha' => [
        'class' => 'luyadev\recaptcha\ReCaptchaConfig',
        'siteKeyV3' => 'SITE_KEY',
        'secretV3' => 'SECRET_KEY',
    ],
]
```

> Create V3 [Secret and Key](https://www.google.com/recaptcha/)

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 88.2% 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 ~445 days

Total

3

Last Release

913d ago

Major Versions

1.0.1 → 2.0.02023-11-09

### Community

Maintainers

![](https://www.gravatar.com/avatar/86184bf08843ed8fcc4aedb2fdecd8a9e832e47e89a7166cebfda529c176f5ce?d=identicon)[nadar](/maintainers/nadar)

---

Top Contributors

[![nadar](https://avatars.githubusercontent.com/u/3417221?v=4)](https://github.com/nadar "nadar (15 commits)")[![hbugdoll](https://avatars.githubusercontent.com/u/6715827?v=4)](https://github.com/hbugdoll "hbugdoll (2 commits)")

---

Tags

luya

### Embed Badge

![Health badge](/badges/luyadev-luya-forms-captcha/health.svg)

```
[![Health](https://phpackages.com/badges/luyadev-luya-forms-captcha/health.svg)](https://phpackages.com/packages/luyadev-luya-forms-captcha)
```

###  Alternatives

[webmozart/assert

Assertions to validate method input/output with nice error messages.

7.6k894.0M1.2k](/packages/webmozart-assert)[bensampo/laravel-enum

Simple, extensible and powerful enumeration implementation for Laravel.

2.0k15.9M104](/packages/bensampo-laravel-enum)[swaggest/json-schema

High definition PHP structures with JSON-schema based validation

48612.5M73](/packages/swaggest-json-schema)[stevebauman/purify

An HTML Purifier / Sanitizer for Laravel

5325.6M19](/packages/stevebauman-purify)[ashallendesign/laravel-config-validator

A package for validating your Laravel app's config.

217905.3k5](/packages/ashallendesign-laravel-config-validator)[crazybooot/base64-validation

Laravel validators for base64 encoded files

1341.9M8](/packages/crazybooot-base64-validation)

PHPackages © 2026

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