Download the PHP package webbuilders-group/silverstripe-turnstile without Composer
On this page you can find all versions of the php package webbuilders-group/silverstripe-turnstile. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download webbuilders-group/silverstripe-turnstile
More information about webbuilders-group/silverstripe-turnstile
Files in webbuilders-group/silverstripe-turnstile
Package silverstripe-turnstile
Short Description A spam protector and form field using CloudFlare's Turnstile
License BSD-3-Clause
Informations about the package silverstripe-turnstile
Turnstile for Silverstripe
Adds a "spam protection" field to Silverstripe userforms using Cloudflare's Turnstile service.
Maintainer Contact
- Ed Chipman (UndefinedOffset)
Requirements
Installation
Configuration
There are multiple configuration options for the field, you must set the site_key and the secret_key which you can get from Cloudflare/. These configuration options must be added to your site's yaml config typically this is app/\_config/config.yml.
Adding field labels
If you want to add a field label or help text to the Captcha field you can do so like this:
Adding Custom Attributes
Turnstile has a few other options that this module does not out of the box provide hooks for setting, however you can set them your self using setAttribute for example:
Testing scenarios
Several dummy site and secret keys are available to help you test different scenarios. Choosing a visible challenge will let you style the widget during development.
All versions of silverstripe-turnstile with dependencies
silverstripe/spamprotection Version ~5.0
ext-curl Version *