PHPackages                             toteph42/spambot - 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. toteph42/spambot

ActiveContao-bundle[Security](/categories/security)

toteph42/spambot
================

Block spam bot access to your Contao web site.

1.0.29(1y ago)1108[1 issues](https://github.com/toteph42/spambot/issues)GPL-3.0+PHPPHP &gt;=7.0

Since Mar 12Pushed 1y ago1 watchersCompare

[ Source](https://github.com/toteph42/spambot)[ Packagist](https://packagist.org/packages/toteph42/spambot)[ Docs](https://github.com/toteph42/spambot)[ RSS](/packages/toteph42-spambot/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (1)Versions (4)Used By (0)

SpamBot
-------

[](#spambot)

Block access to your Web Site (singe pages or whole Internet presence) for spam robots. All IP or e-mail addresses are identified as **Spam** (suspicious access) or **Ham** (allowed access) based on **BlackList** or **WhiteList** or provider checks.

You may use one or more of the following providers

- **Intern**Caching of testing results. Definition of **BlackList** or **WhiteList**.
- **[Spamhaus](https://www.spamhaus.org/)**Testing IP address.
- **[Honeypot](https://www.projecthoneypot.org/)**Testing IP address.
- **[StopForumSpam](http://www.stopforumspam.com)**Testing IP and mail address.
- **[Spam and Open Relay Blocking System (SORBS)](http://www.sorbs.net)**Testing IP address.
- **[SpamCop](https://www.spamcop.net/)**Testing IP address.
- **[BlockList](http://www.blocklist.de)**Testing IP address.
- **[NixSpam](http://www.dnsbl.manitu.net)**Testing IP address.
- **[UCE Protect](http://www.uceprotect.net)**Testing IP address (Level 1+2+3).
- **[Abusive Host Blocking List](https://www.ahbl.org)**Testing IP address.
- **[Weighted Private Block List](http://www.wpbl.info)**Testing IP address.
- **[BotScout](http://www.botscout.com)**Testing IP and mail address.
- **[FSpamList](http://www.fspamlist.com)**Testing IP and mail address.
- **[IPStack](https://ipstack.com/)**Allow access for selected countries.

**Installation**

- Install Plugin
- Create a new **Frontend module** of typ \**SpamBot-IP* \*or **SpamBot-Mail**. Configure which provider should be used.
- Create a new page (optional) to which suspicious visitor should be redirected or check and update template **mod\_spambot** according to your requirements (existing template supports German and English messages).
- Include module either in **Page layout** or on one or more pages as **Page element**.

**Usage**

- All visitor IP / mail addresses are checked and in case of suspicious visitor (**Spam**) either a message is displayed or visitor is redirected to a preselected page.
- Using a new menu option in BackEnd (in Account management) you can specify addition IP / mail addresses or regular expressions in **BlackList** or **WhiteList**.
- After checking the IP address, the following **InsertTags** are available in all templates:
    - `{{SpamBot::clientIP}}` IP address checked.
    - `{{SpamBot::Typ}}` Spam typ.
    - `{{SpamBot::Engine}}` Spam provider name (probably with link).
    - `{{SpamBot::Status}}` Status message.

**Specifics**

- Search engines were called in parallel. With this special solution operational capacity is enlarged dramatically.
- We recommend using modules only on page level.
    - Depending on which / how many provider you want to use latency time for displaying pages are extended. If you include module e.g. only on registration page and/or on contact page all other pages will be displayed faster.
    - If you use a Internet site with multi-language support you may define multiple Frontend modules with a a language specific redirection page.
    - With this plugin you may lock specific pages from being displayed (in your intranet) using the **BlackList** or allow only specific visitors to see these pages using **WhiteList**.
- You may use **SpamBot-Mail** in any form of your choice. Please don't forget to include modul at top of your page and in your Forms to configure the Inputfield E-Mail with the Configuration check for E-Mails.

**Testing**

- We highly recommend making any tests on a page not visible for other visitors or on a local copy of your Internet site (may bee you will lock or potential customers during testing :-).
- Allow logging of **Ham** IP / mail access.
- Open you prepared page in front end.
- Take a look at the IP / mail address in BackEnd.
- Check IP / mail address with configured provider and analyze result.
- Modify record and change type to **Spam**.
- Reload your modified page in browser and check results.

Please enjoy!

If you enjoy my software, I would be happy to receive a donation.

[ ![Donate with PayPal](https://camo.githubusercontent.com/0145f4c212cf9f2b903c0ea3b8f27e952bde347eb91cf920353e02380d74e818/68747470733a2f2f7777772e70617970616c6f626a656374732e636f6d2f656e5f55532f444b2f692f62746e2f62746e5f646f6e61746543435f4c472e676966)](https://www.paypal.com/donate/?hosted_button_id=DS6VK49NAFHEQ)

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance18

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity42

Maturing project, gaining track record

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

Total

3

Last Release

532d ago

### Community

Maintainers

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

---

Top Contributors

[![toteph42](https://avatars.githubusercontent.com/u/2334583?v=4)](https://github.com/toteph42 "toteph42 (3 commits)")

---

Tags

blacklistblockercontao-bundlespamwhitelistspamcontaoblackliste-mailwhitelisthttpblhamspambote-mailbot

### Embed Badge

![Health badge](/badges/toteph42-spambot/health.svg)

```
[![Health](https://phpackages.com/badges/toteph42-spambot/health.svg)](https://phpackages.com/packages/toteph42-spambot)
```

###  Alternatives

[pragmarx/firewall

A Laravel IP whitelisting and blacklisting

1.4k988.9k](/packages/pragmarx-firewall)[clash82/cachedhttpbl

Cached http:BL is a PHP &gt;=8.3 library that allows to check IPv4 address with `Project HoneyPot's http:BL service` to determine if it's located on the blacklist.

2241.2k](/packages/clash82-cachedhttpbl)[fritzmg/contao-file-access

Contao extension that allows file access restrictions for frontend users.

105.1k](/packages/fritzmg-contao-file-access)[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)
