2017 © Pedro Peláez
 

silverstripe-vendormodule silverstripe-spamprotection-honeypot

Provide Honeypot spam protection for SilverStripe CMS.

image

symbiote-library/silverstripe-spamprotection-honeypot

Provide Honeypot spam protection for SilverStripe CMS.

  • Tuesday, June 12, 2018
  • by symbiote-library
  • Repository
  • 2 Watchers
  • 0 Stars
  • 125 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 12 Forks
  • 0 Open issues
  • 9 Versions
  • 0 % Grown

The README.md

SpamProtection Honeypot Module

Latest Version on Packagist ![Software License][ico-license] Total Downloads, (*1)

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., (*2)

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., (*3)

$ composer require symbiote-library/silverstripe-spamprotection-honeypot

Manually

Copy the 'silverstripe-spamprotection-honeypot' folder to the root of your SilverStripe installation., (*4)

Usage

Create a configuration file spamprotection.yml in mysite/_config with the following configuration., (*5)

---
name: spamprotection
---
SilverStripe\SpamProtection\Extension\FormSpamProtectionExtension:
  default_spam_protector: '\Symbiote\SilverStripe\SpamProtection\Honeypot\SpamProtector\HoneypotSpamProtector'

Then enable spam protection on your form by calling Form::enableSpamProtection()., (*6)

public function ExampleForm()
{
    $form = new ExampleForm($this, 'Example');

    $form->enableSpamProtection();

    return $form;
}

You can change the amount time that is checked to see if the response is made too quickly with the following configuration., (*7)

Symbiote\SilverStripe\SpamProtection\Honeypot\FormField\HoneypotField:
  time_limit: 1

This example changes the time to 1 second. The default is set to 5 seconds., (*8)

Testing

$ phpunit

Contributing

Please see CONTRIBUTING for details., (*9)

Security

If you discover any security related issues, please email maintainers+library@symbiote.com.au instead of using the issue tracker., (*10)

Credits

License

The BSD-2-Clause License. Please see License File for more information., (*11)

The Versions

12/06 2018

dev-master

9999999-dev https://github.com/symbiote-library/silverstripe-spamprotection-honeypot

Provide Honeypot spam protection for SilverStripe CMS.

  Sources   Download

BSD-2-Clause

The Requires

 

The Development Requires

form silverstripe spam protection honeypot silverstripe-spamprotection-honeypot

12/06 2018

2.0.1

2.0.1.0 https://github.com/symbiote-library/silverstripe-spamprotection-honeypot

Provide Honeypot spam protection for SilverStripe CMS.

  Sources   Download

BSD-2-Clause

The Requires

 

The Development Requires

form silverstripe spam protection honeypot silverstripe-spamprotection-honeypot

12/06 2018

2.0.0

2.0.0.0 https://github.com/symbiote-library/silverstripe-spamprotection-honeypot

Provide Honeypot spam protection for SilverStripe CMS.

  Sources   Download

BSD-2-Clause

The Requires

 

The Development Requires

form silverstripe spam protection honeypot silverstripe-spamprotection-honeypot

08/05 2017

1.2.0

1.2.0.0 https://github.com/studiobonito/silverstripe-spamprotection-honeypot

Provide Honeypot spam protection for SilverStripe CMS.

  Sources   Download

BSD-2-Clause

The Requires

 

The Development Requires

form silverstripe spam protection honeypot studiobonito silverstripe-spamprotection-honeypot

17/02 2016

1.1.2

1.1.2.0 https://github.com/studiobonito/silverstripe-spamprotection-honeypot

Provide Honeypot spam protection for SilverStripe CMS.

  Sources   Download

BSD-2-Clause

The Requires

 

The Development Requires

form silverstripe spam protection honeypot studiobonito silverstripe-spamprotection-honeypot

17/12 2015

1.1.1

1.1.1.0 https://github.com/studiobonito/silverstripe-spamprotection-honeypot

Provide Honeypot spam protection for SilverStripe CMS.

  Sources   Download

BSD-2-Clause

The Requires

 

The Development Requires

form silverstripe spam protection honeypot studiobonito silverstripe-spamprotection-honeypot

28/09 2015

1.1.0

1.1.0.0 https://github.com/studiobonito/silverstripe-spamprotection-honeypot

Provide Honeypot spam protection for SilverStripe CMS.

  Sources   Download

BSD-2-Clause

The Requires

 

The Development Requires

form silverstripe spam protection honeypot studiobonito silverstripe-spamprotection-honeypot

09/09 2014

1.0.1

1.0.1.0

Provide Honeypot spam protection for SilverStripe CMS.

  Sources   Download

BSD-2-Clause

The Requires

 

The Development Requires

form silverstripe spam protection honeypot

09/09 2014

1.0.0

1.0.0.0

Provide Honeypot spam protection for SilverStripe CMS.

  Sources   Download

BSD-2-Clause

The Requires

 

The Development Requires

form silverstripe spam protection honeypot