PHPackages                             symbiote-library/silverstripe-spamprotection-honeypot - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Security](/categories/security)
4. /
5. symbiote-library/silverstripe-spamprotection-honeypot

ActiveSilverstripe-vendormodule[Security](/categories/security)

symbiote-library/silverstripe-spamprotection-honeypot
=====================================================

Provide Honeypot spam protection for SilverStripe CMS.

2.0.1(7y ago)017.8k1BSD-2-ClausePHP

Since Sep 9Pushed 7y ago2 watchersCompare

[ Source](https://github.com/symbiote-library/silverstripe-spamprotection-honeypot)[ Packagist](https://packagist.org/packages/symbiote-library/silverstripe-spamprotection-honeypot)[ Docs](https://github.com/symbiote-library/silverstripe-spamprotection-honeypot)[ RSS](/packages/symbiote-library-silverstripe-spamprotection-honeypot/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)Dependencies (5)Versions (9)Used By (0)

SpamProtection Honeypot Module
==============================

[](#spamprotection-honeypot-module)

[![Latest Version on Packagist](https://camo.githubusercontent.com/db40d620177cd7e8e239ee5368b9cb465f01debf15430656cb0e57fb1414ca48/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f73796d62696f74652d6c6962726172792f73696c7665727374726970652d7370616d70726f74656374696f6e2d686f6e6579706f742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/symbiote-library/silverstripe-spamprotection-honeypot)[![Software License](https://camo.githubusercontent.com/b60331a2084501dc07cf6d6964c0da58dd005d89c45cf3b28b4b22b60f5ec00f/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4253442d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Total Downloads](https://camo.githubusercontent.com/1a1c6201eabbc8a4c30a3bc54ed968acfd29bfeb46c0edbe4e003eeb06ef2245/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f73796d62696f74652d6c6962726172792f73696c7665727374726970652d7370616d70726f74656374696f6e2d686f6e6579706f742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/symbiote-library/silverstripe-spamprotection-honeypot)

Overview
--------

[](#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
------------

[](#requirements)

- SilverStripe 3.1.0 and newer or 3.2 and newer.
- SilverStripe [SpamProtection](https://github.com/silverstripe/silverstripe-spamprotection) 1.2 or newer.

Install
-------

[](#install)

### Via Composer

[](#via-composer)

Run the following to add this module as a requirement and install it via composer.

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

### Manually

[](#manually)

Copy the 'silverstripe-spamprotection-honeypot' folder to the root of your SilverStripe installation.

Usage
-----

[](#usage)

Create a configuration file `spamprotection.yml` in `mysite/_config` with the following configuration.

```
---
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()`.

```
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.

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

This example changes the time to 1 second. The default is set to 5 seconds.

Testing
-------

[](#testing)

```
$ phpunit
```

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Tom Densham](https://github.com/nedmas)
- [All Contributors](../../contributors)

License
-------

[](#license)

The BSD-2-Clause License. Please see [License File](LICENSE.md) for more information.

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity68

Established project with proven stability

 Bus Factor1

Top contributor holds 60% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~195 days

Recently: every ~226 days

Total

8

Last Release

2898d ago

Major Versions

1.2.0 → 2.0.02018-06-12

### Community

Maintainers

![](https://www.gravatar.com/avatar/2cb5f9953ff86ed3e53f49caa1d3d0c4a1d2323d35ff6686ef17d74c532b7dbb?d=identicon)[symbiote-library](/maintainers/symbiote-library)

---

Top Contributors

[![JamesDPC](https://avatars.githubusercontent.com/u/69664712?v=4)](https://github.com/JamesDPC "JamesDPC (3 commits)")[![andreassp](https://avatars.githubusercontent.com/u/2562181?v=4)](https://github.com/andreassp "andreassp (1 commits)")[![nedmas](https://avatars.githubusercontent.com/u/842280?v=4)](https://github.com/nedmas "nedmas (1 commits)")

---

Tags

silverstripespamformHoneypotprotectionsilverstripe-spamprotection-honeypot

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/symbiote-library-silverstripe-spamprotection-honeypot/health.svg)

```
[![Health](https://phpackages.com/badges/symbiote-library-silverstripe-spamprotection-honeypot/health.svg)](https://phpackages.com/packages/symbiote-library-silverstripe-spamprotection-honeypot)
```

###  Alternatives

[msurguy/honeypot

Honeypot spam prevention

4381.2M12](/packages/msurguy-honeypot)[exadium/silverstripe-invisible-spam-protection

Very simple anti spam protection based on principle that automated spammers enter bogus information in all form fields. Field is added to form that is hidden using CSS hiding it from human users. Form is only allowed to be submitted if field is empty. Includes an EditableInvisibleSpamField to integrate with the UserForms module.

112.1k](/packages/exadium-silverstripe-invisible-spam-protection)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
