PHPackages                             aryehraber/statamic-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. aryehraber/statamic-captcha

ActiveStatamic-addon[Validation &amp; Sanitization](/categories/validation)

aryehraber/statamic-captcha
===========================

Protect your Statamic forms using a Captcha service

v1.17.0(3mo ago)17211.2k↓35.7%14MITPHP

Since Aug 21Pushed 3mo ago1 watchersCompare

[ Source](https://github.com/aryehraber/statamic-captcha)[ Packagist](https://packagist.org/packages/aryehraber/statamic-captcha)[ Docs](https://github.com/aryehraber/statamic-captcha)[ GitHub Sponsors](https://github.com/aryehraber)[ RSS](/packages/aryehraber-statamic-captcha/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (10)Dependencies (2)Versions (27)Used By (0)

Captcha
=======

[](#captcha)

**Protect your Statamic forms using a Captcha service.**

This addon allows you to protect your Statamic forms using any of the following services:

- [Google reCAPTCHA v2](https://developers.google.com/recaptcha/intro) (v3 not supported)
- [hCaptcha](https://hcaptcha.com/?r=eaeeea7cd23c)
- [Cloudflare Turnstile](https://developers.cloudflare.com/turnstile)
- [ALTCHA](https://altcha.org)

After the initial setup, all you need to do is add the `{{ captcha }}` tag inside your forms, easy peasy!

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

[](#installation)

Install the addon via composer:

```
composer require aryehraber/statamic-captcha

```

Publish the config file:

```
 php please vendor:publish --tag=captcha-config

```

Alternately, you can manually setup the config file by creating `captcha.php` inside your project's `config` directory:

```
