PHPackages                             werkbot/werkbot-spam-protection - 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. [Validation &amp; Sanitization](/categories/validation)
4. /
5. werkbot/werkbot-spam-protection

ActiveSilverstripe-vendormodule[Validation &amp; Sanitization](/categories/validation)

werkbot/werkbot-spam-protection
===============================

Werkbot Spam Protection Fields

3.0.0(1y ago)21.6k—0%2MITPHPPHP ^8.1

Since May 13Pushed 2mo ago2 watchersCompare

[ Source](https://github.com/werkbot/silverstripe-spam-module)[ Packagist](https://packagist.org/packages/werkbot/werkbot-spam-protection)[ Docs](https://github.com/werkbot/silverstripe-spam-module)[ RSS](/packages/werkbot-werkbot-spam-protection/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (7)Dependencies (5)Versions (10)Used By (0)

SilverStripe Spam Module
========================

[](#silverstripe-spam-module)

[![Latest Stable Version](https://camo.githubusercontent.com/8c64334f16e7f602a192eef7428d42c60576f81dec5f1622fab4e0633b857184/687474703a2f2f706f7365722e707567782e6f72672f7765726b626f742f7765726b626f742d7370616d2d70726f74656374696f6e2f76)](https://packagist.org/packages/werkbot/werkbot-spam-protection) [![Total Downloads](https://camo.githubusercontent.com/a0a974f59b4a758c453f1def18dc1b1c45107503bc680c6e1c97631a9307e2a1/687474703a2f2f706f7365722e707567782e6f72672f7765726b626f742f7765726b626f742d7370616d2d70726f74656374696f6e2f646f776e6c6f616473)](https://packagist.org/packages/werkbot/werkbot-spam-protection) [![Latest Unstable Version](https://camo.githubusercontent.com/933c2720e3eeed46a269bf7f64323cb569e645fccdba2e4eee8b41abcf24f3a3/687474703a2f2f706f7365722e707567782e6f72672f7765726b626f742f7765726b626f742d7370616d2d70726f74656374696f6e2f762f756e737461626c65)](https://packagist.org/packages/werkbot/werkbot-spam-protection) [![License](https://camo.githubusercontent.com/14bb23c3bb1af14dcf108f0d70723f7f46f6958d043d8fc883fb23a1e3dff308/687474703a2f2f706f7365722e707567782e6f72672f7765726b626f742f7765726b626f742d7370616d2d70726f74656374696f6e2f6c6963656e7365)](https://packagist.org/packages/werkbot/werkbot-spam-protection) [![PHP Version Require](https://camo.githubusercontent.com/0309d2eadc6ce40d29073a81f5623addd63c75d7bba78d5d415f63ba68d943c8/687474703a2f2f706f7365722e707567782e6f72672f7765726b626f742f7765726b626f742d7370616d2d70726f74656374696f6e2f726571756972652f706870)](https://packagist.org/packages/werkbot/werkbot-spam-protection)

A silverstripe Spam Module using Honeypot and Timer fields to mark bot submissions

Installation
------------

[](#installation)

```
composer require werkbot/werkbot-spam-protection

```

#### Requirements

[](#requirements)

-

Setup
-----

[](#setup)

To setup as the default spam protection add the following to your mysite/\_config/spamprotection.yml file

```
---
name: mycustomspamprotection
---
SilverStripe\SpamProtection\Extension\FormSpamProtectionExtension:
  default_spam_protector: Werkbot\SpamProtection\HoneypotProtector

```

You can optionally set the time for the Timer Field using the following entry in the same file under the default\_spam\_protector line where x is the number of seconds

```
time_not_bot: x

```

If you plan to alter the sass files you can copy this file and the components folder to your sass directory and update accordingly.

Usage
-----

[](#usage)

- [Usage documentation](docs/en/README.md)

Documentation
-------------

[](#documentation)

Generate documentation using Doctum:

```
./vendor/bin/doctum.php update doctum.config.php

```

View the api documentation:

```
start doctum_build/index.html

```

###  Health Score

44

—

FairBetter than 92% of packages

Maintenance64

Regular maintenance activity

Popularity23

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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 ~137 days

Recently: every ~186 days

Total

7

Last Release

638d ago

Major Versions

1.0.4 → 2.0.02024-04-19

2.0.0 → 3.0.02024-08-13

PHP version history (2 changes)1.0.01PHP ^7.3 || ^8.0

2.0.0PHP ^8.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/682d927c1d4ed17f47de48f0d5ad80ba7145667a3e25fecba2280367b804656f?d=identicon)[werkbot](/maintainers/werkbot)

---

Top Contributors

[![tiller1010](https://avatars.githubusercontent.com/u/42498429?v=4)](https://github.com/tiller1010 "tiller1010 (9 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (5 commits)")[![aletail](https://avatars.githubusercontent.com/u/3344301?v=4)](https://github.com/aletail "aletail (4 commits)")[![SnowB1](https://avatars.githubusercontent.com/u/638532?v=4)](https://github.com/SnowB1 "SnowB1 (3 commits)")

---

Tags

honeypotsilverstripesilverstripe-modulespam-detection

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/werkbot-werkbot-spam-protection/health.svg)

```
[![Health](https://phpackages.com/badges/werkbot-werkbot-spam-protection/health.svg)](https://phpackages.com/packages/werkbot-werkbot-spam-protection)
```

###  Alternatives

[undefinedoffset/silverstripe-nocaptcha

A spam protector and form field using Google's reCAPTCHA v2 or optionally a foundation v3 implementation

33471.6k16](/packages/undefinedoffset-silverstripe-nocaptcha)[sheadawson/silverstripe-zenvalidator

Faster, easier client and server-side form validation for SilverStripe

5778.4k2](/packages/sheadawson-silverstripe-zenvalidator)[jonom/silverstripe-text-target-length

Set character length recommendations on SilverStripe text form fields

32132.4k9](/packages/jonom-silverstripe-text-target-length)[silverstripe/mathspamprotection

This module provides a simple math protection mechanism for prevent spam from your forms.Includes an EditableMathSpamField to integrate with the UserForms module.

1917.6k](/packages/silverstripe-mathspamprotection)[silverstripe/superglue

102.2k](/packages/silverstripe-superglue)

PHPackages © 2026

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