Download the PHP package pawsitiwe/sulu-turnstile-bundle without Composer
On this page you can find all versions of the php package pawsitiwe/sulu-turnstile-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package sulu-turnstile-bundle
Sulu Turnstile Bundle
Cloudflare Turnstile integration for Sulu FormBundle (fully automatic).
This bundle is a wrapper for the Pixel-Open Cloudflare Turnstile Bundle and allows you to easily add Turnstile captchas as Dynamic FormFields in Sulu without manually configuring services or XML.
Features
- Adds a Turnstile Dynamic FormFieldType automatically.
- Fully compatible with Sulu 2.x.
- No manual project modifications required.
- Installable via
composer require. - Field appears automatically in the Sulu Admin.
Installation
1. Install the bundle via Composer
2. Register the bundle
If Symfony Flex is enabled, it should register automatically in config/bundles.php:
3. Add configuration
Add a config file into config/packages/pixel_open_cloudflare_turnstile.yaml :
4. Add Cloudflare API credentials to your environment variables
Visit Cloudflare to create your site key and secret key and add them to your .env file.
5. Clear the cache
Usage in Sulu Admin
- After installation, the Turnstile field is automatically available in the Dynamic FormFieldType dropdown.
- The field can be configured like any other Dynamic FormField.
Requirements
- PHP 8.1 or higher
- Sulu 2.5 or higher
- Pixel-Open Cloudflare Turnstile Bundle (installed automatically via Composer)
Note
This bundle is only a Sulu wrapper for the official Pixel-Open Cloudflare Turnstile Bundle. It handles:
- Registration as a Dynamic FormFieldType
- XML field setup
- Easy usage in the Sulu Admin
The actual Captcha logic remains fully handled by the original bundle.
License
MIT
All versions of sulu-turnstile-bundle with dependencies
sulu/form-bundle Version ^2.5
pixelopen/cloudflare-turnstile-bundle Version ^0.4.1