xddesigners/honeypotfield

Adds a honeypot in addition to the nocapcha field

Maintainers

👁 TheBnl

Package info

github.com/xddesigners/silverstripe-honeypotfield

Type:silverstripe-vendormodule

pkg:composer/xddesigners/honeypotfield

Statistics

Installs: 279

Dependents: 1

Suggesters: 0

Stars: 1

Open Issues: 0

6.0.4 2026-05-07 12:56 UTC

Requires (Dev)

None

Suggests

None

Provides

None

Conflicts

None

Replaces

None

BSD-3-Clause 4dcbf030db127fd2515912959d10313fc0f7e4b7

  • Remy Vaartjes <remy.woop@xd.nl>

spamsilverstripeprotectionHoneypot

This package is auto-updated.

Last update: 2026-06-07 13:07:49 UTC


README

Add a Honeypot spam protector to use by itself or in combination with a Nocaptcha. The honeypot is inspired by spatie/laravel-honeypot as it uses an honeypot field that is invalidated when filled and validates an field that has a timestamp. The timestamp is checked to make sure the form wasn't submitted crazy fast.

Installation

composer require xddesigners/silverstripe-honeypotfield

Usage

Configure the honeypot spam protector by itself or with the nocapcha protector.

# configure if you want to use the honeypot by itself
SilverStripe\SpamProtection\Extension\FormSpamProtectionExtension:
 default_spam_protector: XD\Honeypot\Protectors\HoneypotProtector

# configure if you want to use both capcha and honeypot protection
SilverStripe\SpamProtection\Extension\FormSpamProtectionExtension:
 default_spam_protector: XD\Honeypot\Protectors\NocaptchaProtector

Configure the dis-allowed time in seconds to submit a form.

XD\Honeypot\Forms\HoneypotField:
 submitted_in_seconds: 5