Simple spam protector field for SilverStripe.
- SilverStripe 4
- SilverStripe Spam Protection
- PHP GD
composer require toastnz/simple-captcha
Set Simple Catcha as the default spam protector in your config.yml
SilverStripe\SpamProtection\Extension\FormSpamProtectionExtension:
default_spam_protector: Toast\SimpleCaptcha\Forms\SimpleCaptchaProtector
Enable spam protection on the form:
$form->enableSpamProtection();