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
Requires
- php: ^8.1
- ext-curl: *
- contao/core-bundle: ^5.0
- symfony/config: ^6.4 || ^7.4
- symfony/dependency-injection: ^6.4 || ^7.4
- symfony/http-kernel: ^6.4 || ^7.4
Requires (Dev)
- bamarni/composer-bin-plugin: ^1.8
- contao/manager-plugin: ^2.3.1
- phpunit/phpunit: ^9.6
- roave/security-advisories: dev-latest
- symfony/phpunit-bridge: ^6.4 || ^7.4
Conflicts
- contao/manager-plugin: <2.0 || >=3.0
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>';