PHPackages                             leitsch/kirby-uniform-hcaptcha - 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. [Security](/categories/security)
4. /
5. leitsch/kirby-uniform-hcaptcha

ActiveKirby-plugin[Security](/categories/security)

leitsch/kirby-uniform-hcaptcha
==============================

Kirby 3 hCaptcha guard for the Uniform plugin

2.0.0(4y ago)336MITPHPPHP ^8.0

Since May 21Pushed 4y ago1 watchersCompare

[ Source](https://github.com/lukasleitsch/kirby-uniform-hcaptcha)[ Packagist](https://packagist.org/packages/leitsch/kirby-uniform-hcaptcha)[ RSS](/packages/leitsch-kirby-uniform-hcaptcha/feed)WikiDiscussions main Synced 2d ago

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

Uniform hCaptcha Guard
======================

[](#uniform-hcaptcha-guard)

A [Kirby 3](https://getkirby.com/) plugin implementing a [hCaptcha](https://www.hcaptcha.com/) guard for the [Uniform](https://github.com/mzur/kirby-uniform) plugin.

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

[](#installation)

### Composer

[](#composer)

Add the plugin to your project:

```
composer require leitsch/kirby-uniform-hcaptcha

```

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

[](#configuration)

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

```
return [
  'leitsch.uniform-hcaptcha.siteKey' => 'my-site-key',
  'leitsch.uniform-hcaptcha.secretKey' => 'my-secret-key',
];
```

Usage
-----

[](#usage)

### Template

[](#template)

You can use the provided helper function to embed the hCaptcha into your template:

```

```

In order for hCaptcha to work, you need to provide the hCaptcha JavaScript file.

Use the helper function `hcaptchaScript()` in your template.

**Example**

```
 class="erroneous" name="name" type="text" value="
