guave/cloudflareturnstile-bundle

Cloudflare Turnstile for Contao 5.0+

Installs: 110

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 4

Forks: 1

Type:contao-bundle

pkg:composer/guave/cloudflareturnstile-bundle

2.0.0 2026-01-22 06:58 UTC

This package is auto-updated.

Last update: 2026-01-22 06:59:58 UTC


README

This Contao module overrides the default security questions/captcha form field with Cloudflare Turnstile.

Requirements

  • Contao 5.0+
  • PHP 8.1+

Install

$ composer require guave/cloudflareturnstile-bundle

Usage

There are two ways to add the configuration needed:

a) Go to Settings in the Contao Backend and add your Turnstile Site Key and Secret Key under "Security: Cloudflare Turnstile"

or

b) Add your Turnstile Site Key and Secret Key on system/config/localconfig.php:

$GLOBALS['TL_CONFIG']['turnstilePublicKey'] = '<YOUR-SITE-KEY>';
$GLOBALS['TL_CONFIG']['turnstilePrivateKey'] = '<YOUR-SECRET-KEY>';