2017 © Pedro Peláez
 

silverstripe-module honeypot

image

camspiers/honeypot

  • Wednesday, October 21, 2015
  • by camspiers
  • Repository
  • 1 Watchers
  • 7 Stars
  • 33,217 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 6 Forks
  • 3 Open issues
  • 10 Versions
  • 4 % Grown

The README.md

SilverStripe Honey Pot

A SilverStripe 4.x compatible version of camspiers/honeypot, (*1)

Installation (with composer)

$ composer require heyday/silverstripe-honeypot

Set the default spam protector in app/_config/spamprotection.yml, (*2)

---
name: spamprotection
---
SilverStripe\SpamProtection\Extension\FormSpamProtectionExtension:
  default_spam_protector: Heyday\SilverStripe\HoneyPot\HoneyPotSpamProtector

Or, on a form by form basis, (*3)

use Heyday\SilverStripe\HoneyPot\HoneyPotField;
use SilverStripe\Forms\Form;
use SilverStripe\Control\Controller;
use SilverStripe\Forms\FieldList;

/**
 * Class SomeForm
 */
class SomeForm extends Form
{
    /**
     * @param Controller $controller
     */
    public function __construct(Controller $controller)
    {
        $fields = new FieldList();
        $fields->push(new HoneyPotField('Website')); // 'Website' here can be any old string
        ...
    }
}

The Versions

21/10 2015
01/05 2015

2.0.2

2.0.2.0

  Sources   Download

The Requires

 

28/08 2014

2.0.1

2.0.1.0

  Sources   Download

The Requires

 

03/07 2013

2.0.0

2.0.0.0

  Sources   Download

The Requires

 

22/02 2013

1.0.x-dev

1.0.9999999.9999999-dev

  Sources   Download

The Requires

 

22/02 2013

1.0.3

1.0.3.0

  Sources   Download

The Requires

 

26/10 2012

1.0.2

1.0.2.0

  Sources   Download

26/10 2012

1.0.1

1.0.1.0

  Sources   Download

10/09 2012

1.0.0

1.0.0.0

  Sources   Download