suilven / silverstripe-common-forms-spam-protection
Provide a one stop shop for protecting common SilverStripe forms with spam protection.
Installs: 14
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:silverstripe-vendormodule
Requires
- php: >=5.6.0
- silverstripe/framework: ^4@dev
This package is auto-updated.
Last update: 2024-10-29 05:40:52 UTC
README
This currently enables spam protection for the following 2 modules as a one shot solution.
- silverstripe/comments - Add a new comment, reply to a comment
- symbiote/silverstripe-memberprofiles - Member registration
Contents
Installation
Module
composer require suilven/silverstripe-common-forms-spam-protection
Enable Default Spam Protection
Add a file, e.g. app/_config/spamprotection.yml, and add likes of the following:
---
name: mysitespamprotection
---
SilverStripe\SpamProtection\Extension\FormSpamProtectionExtension:
default_spam_protector: '\Symbiote\SilverStripe\SpamProtection\Honeypot\SpamProtector\HoneypotSpamProtector'
Change the spam protector to your preference.