luyadev/luya-forms-captcha

Captcha Block for LUYA Forms Module

Installs: 2 325

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 1

Open Issues: 0

Type:luya-extension

2.0.0 2023-11-09 12:51 UTC

This package is auto-updated.

Last update: 2024-12-09 15:39:56 UTC


README

LUYA Logo

LUYA Captcha Block for Forms Module

LUYA Maintainability Test Coverage Tests

This package contains a Google ReCapchta3 Block which can be used in combination with LUYA Forms Module.

Installation

Install the extension through composer:

composer require luyadev/luya-forms-captcha

Run the import command afterwards:

./luya import

Configuration

Ensure you have configured the himiklab(fork) recaptcha library in your config:

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

Create V3 Secret and Key