PHPackages                             expl0it3r/kirby-uniform-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. expl0it3r/kirby-uniform-recaptcha

ActiveLibrary

expl0it3r/kirby-uniform-recaptcha
=================================

Kirby 3 reCAPTCHA guard for the Uniform plugin

1.0.2(5y ago)31743[1 issues](https://github.com/eXpl0it3r/kirby-uniform-recaptcha/issues)MITPHP

Since Jan 22Pushed 2y ago1 watchersCompare

[ Source](https://github.com/eXpl0it3r/kirby-uniform-recaptcha)[ Packagist](https://packagist.org/packages/expl0it3r/kirby-uniform-recaptcha)[ RSS](/packages/expl0it3r-kirby-uniform-recaptcha/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (3)Dependencies (1)Versions (5)Used By (0)

Uniform reCAPTCHA
=================

[](#uniform-recaptcha)

A [Kirby 3 &amp; 4](https://getkirby.com/) plugin implementing a [Google reCAPTCHA v3](https://developers.google.com/recaptcha/docs/v3) guard for the [Uniform](https://github.com/mzur/kirby-uniform) plugin.

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

[](#installation)

### Download

[](#download)

- [Download](/archive/master.zip) the repository
- Extract the content to `site/plugins/uniform-recaptcha`

### Git Submodule

[](#git-submodule)

Add the plugin as Git submodule:

```
git submodule add https://github.com/eXpl0it3r/kirby-uniform-recaptcha.git site/plugins/uniform-recaptcha

```

### Composer

[](#composer)

Add the plugin to your repository:

```
composer require expl0it3r/kirby-uniform-recaptcha

```

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

[](#configuration)

Set the configuration in your `config.php` file:

```
return [
  'expl0it3r.uniform-recaptcha.siteKey' => 'my-site-key',
  'expl0it3r.uniform-recaptcha.secretKey' => 'my-secret-key',
  'expl0it3r.uniform-recaptcha.acceptableScore' => 0.5
];
```

- `siteKey` &amp; `secretKey` can be found on the [reCAPTCHA admin page](https://www.google.com/recaptcha/admin/)
- `acceptableScore` is the minimum score in range `0.0` to `1.0` (default `0.5`) required to accept the form submission, see the [reCAPTCHA documentation](https://developers.google.com/recaptcha/docs/v3)

Usage
-----

[](#usage)

### Template

[](#template)

reCAPTCHA v3 requires the form submission to happen through JavaScript. You can use the provided helper function, which creates a JavaScript callback function and an HTML `
