PHPackages                             camfindlay/silverstripe-suspendspammer - 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. camfindlay/silverstripe-suspendspammer

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

camfindlay/silverstripe-suspendspammer
======================================

Suspends a suspected forum spammer registration based on user supplied keywords

1.0.0(10y ago)22.2k2[1 issues](https://github.com/camfindlay/silverstripe-suspendspammer/issues)[2 PRs](https://github.com/camfindlay/silverstripe-suspendspammer/pulls)BSD-3-ClausePHP

Since Jan 2Pushed 10y agoCompare

[ Source](https://github.com/camfindlay/silverstripe-suspendspammer)[ Packagist](https://packagist.org/packages/camfindlay/silverstripe-suspendspammer)[ RSS](/packages/camfindlay-silverstripe-suspendspammer/feed)WikiDiscussions master Synced yesterday

READMEChangelog (1)Dependencies (3)Versions (11)Used By (0)

Suspend Spammer
===============

[](#suspend-spammer)

[![Build Status](https://camo.githubusercontent.com/6ceff6de120789fe1927e17a41a841be70a6b4fc951169f443c2c613d829ea6a/68747470733a2f2f7472617669732d63692e6f72672f63616d66696e646c61792f73696c7665727374726970652d73757370656e647370616d6d65722e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/camfindlay/silverstripe-suspendspammer)

Overview
--------

[](#overview)

This module checks new Member object writes against a user defined set of trigger keywords which may indicated that the Member is in fact a spammer. This is for use alongside the silverstripe/silverstripe-forum.

Maintainers
-----------

[](#maintainers)

Cam Findlay

Requirements
------------

[](#requirements)

- SilverStripe 3 (Framework and CMS)
- [Forum module 0.8 (compatible with 3 SilverStripe core)](https://github.com/silverstripe/silverstripe-forum)

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

[](#installation)

Best practice is to install via composer (otherwise download files and unzip to your webroot):

```
composer require camfindlay/silverstripe-suspendspammer dev-master

```

Run dev/build in the browser ()

or

via command line

```
sake (cd  && ./sapphire/sake dev/build flush=all)

```

Usage
-----

[](#usage)

Simply go to the CMS, access the *Spam Keywords* menu then add any spam related keywords you wish to check when a new member registers or posts the content of their first forum post.

By default SuspendSpammer check the Occupation and Company fields (added by the silverstripe/forum module). This can be changed by setting the following static in your \_config/config.yml file and supplying an array of keywords.

```
Member:
  fields_to_check:
    - Occupation
    - Company
    - AnyOtherKeywords

```

You can also create a CSV file of keywords using the column heading 'Title' and import through the default ModelAdmin importer.

Email Notifications
-------------------

[](#email-notifications)

In order to be notified when a suspected spam registration or post is automatically suspended you can enable email notification and designate an email address to receive the notification emails.

The notification email includes the email address of the suspected spammer (so you can look them up in the Security section of SilverStripe CMS) as well as the fields set in the '$fields\_to\_check' against which the spam keywords matched.

This will allow you to perform a quick smoke test in case there was a false-positive and the registration was a legitimate member.

To enable set the following in your *\_config/config.yml* file:

```
Admin:
  admin_email: 'admin@yourdomain.com'
SuspendSpammerEmail:
  email_to: you@yourdomain.com
  enable_email: true

```

The 'admin\_email' is the address the email will come from, 'email\_to' sets the address of the person you wish to be notified of the spam registration. Lastly you have to enable notification emails with 'enable\_email'.

License
=======

[](#license)

Copyright (c) 2015, Cam Findlay All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance10

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity69

Established project with proven stability

 Bus Factor1

Top contributor holds 100% 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 ~75 days

Recently: every ~49 days

Total

9

Last Release

3912d ago

Major Versions

0.1.1 → 1.0.02015-08-26

### Community

Maintainers

![](https://www.gravatar.com/avatar/cbecac0d996e80cca97186edd61a8763636c339087ee30e71935dcf01665bac5?d=identicon)[camfindlay](/maintainers/camfindlay)

---

Top Contributors

[![camfindlay](https://avatars.githubusercontent.com/u/367847?v=4)](https://github.com/camfindlay "camfindlay (38 commits)")

---

Tags

silverstripespamforum

### Embed Badge

![Health badge](/badges/camfindlay-silverstripe-suspendspammer/health.svg)

```
[![Health](https://phpackages.com/badges/camfindlay-silverstripe-suspendspammer/health.svg)](https://phpackages.com/packages/camfindlay-silverstripe-suspendspammer)
```

###  Alternatives

[silverstripe/auditor

Adds security audit trail to SilverStripe.

10352.1k5](/packages/silverstripe-auditor)[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)[bringyourownideas/silverstripe-composer-security-checker

Provides information if your SilverStripe application uses dependencies with known vulnerabilities.

11103.9k2](/packages/bringyourownideas-silverstripe-composer-security-checker)[feejin/silverstripe-securitytemplates

Custom security templates to mirror CMS

128.1k1](/packages/feejin-silverstripe-securitytemplates)

PHPackages © 2026

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