Download the PHP package swordfox/silverstripe-recaptchamultiple without Composer
On this page you can find all versions of the php package swordfox/silverstripe-recaptchamultiple. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download swordfox/silverstripe-recaptchamultiple
More information about swordfox/silverstripe-recaptchamultiple
Files in swordfox/silverstripe-recaptchamultiple
Package silverstripe-recaptchamultiple
Short Description A spam protector and form field using the Google's reCAPTCHA 3 and supports multiple forms on a single page.
License BSD-3-Clause
Informations about the package silverstripe-recaptchamultiple
silverstripe-recaptchamultiple
A spam protector and form field using the Google's reCAPTCHA 3 that supports multiple forms
Based on https://github.com/UndefinedOffset/silverstripe-nocaptcha - The main changes are the way it injects CustomJs, most of it has been moved to the JS file.
Requirements
- SilverStripe 4.x
- SilverStripe Spam Protection 3.x
- PHP CURL
Installation
After installing the module via composer or manual install you must set the spam protector to RecaptchaMultipleProtector, this needs to be set a config file e.g. mysite/_config/recaptchamultiple.yml.
Add the "spam protection" field to your form fields.
Set a callback for each field, handy for ajax forms
Configuration
There are multiple configuration options for the field, you must set the site_key and the secret_key which you can get from the reCAPTCHA page. These configuration options must be added to a config filee.g. mysite/_config/recaptchamultiple.yml.
All versions of silverstripe-recaptchamultiple with dependencies
silverstripe/vendor-plugin Version ^1.0
silverstripe/spamprotection Version ~3.0