Download the PHP package studiobonito/silverstripe-spamprotection-honeypot without Composer
On this page you can find all versions of the php package studiobonito/silverstripe-spamprotection-honeypot. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download studiobonito/silverstripe-spamprotection-honeypot
More information about studiobonito/silverstripe-spamprotection-honeypot
Files in studiobonito/silverstripe-spamprotection-honeypot
Package silverstripe-spamprotection-honeypot
Short Description Provide Honeypot spam protection for SilverStripe CMS.
License BSD-2-Clause
Homepage https://github.com/studiobonito/silverstripe-spamprotection-honeypot
Informations about the package silverstripe-spamprotection-honeypot
SpamProtection Honeypot Module
Overview
Provide Honeypot spam protection for SilverStripe CMS. Create a form field hidden from users that invalidates submission if it contains any data. Also invalidate submissions that respond to quickly.
Requirements
- SilverStripe 3.1.0 and newer or 3.2 and newer.
- SilverStripe SpamProtection 1.2 or newer.
Install
Via Composer
Run the following to add this module as a requirement and install it via composer.
Manually
Copy the 'silverstripe-spamprotection-honeypot' folder to the root of your SilverStripe installation.
Usage
Create a configuration file spamprotection.yml
in mysite/_config
with the following configuration.
Then enable spam protection on your form by calling Form::enableSpamProtection()
.
You can change the amount time that is checked to see if the response is made too quickly with the following configuration.
This example changes the time to 1 second. The default is set to 5 seconds.
Testing
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
Credits
- Tom Densham
- All Contributors
License
The BSD-2-Clause License. Please see License File for more information.
All versions of silverstripe-spamprotection-honeypot with dependencies
silverstripe/framework Version ^3.1
silverstripe/spamprotection Version ~1.2.0