PHPackages                             strilezkijslawa/laravel-spam-protector - 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. strilezkijslawa/laravel-spam-protector

ActiveLibrary[Security](/categories/security)

strilezkijslawa/laravel-spam-protector
======================================

Laravel Spam Protector class to check ip, name, email for spam that uses the StopForumSpam Api https://www.stopforumspam.com/usage

0188↓93.8%PHP

Since May 12Pushed 1y agoCompare

[ Source](https://github.com/strilezkijslawa/laravel-spam-protector)[ Packagist](https://packagist.org/packages/strilezkijslawa/laravel-spam-protector)[ RSS](/packages/strilezkijslawa-laravel-spam-protector/feed)WikiDiscussions master Synced today

READMEChangelog (1)DependenciesVersions (1)Used By (0)

Laravel Spam Protector
======================

[](#laravel-spam-protector)

[![Latest Version on Packagist](https://camo.githubusercontent.com/cc490519476d947f6debf6cbc3dd3d03a491dd4254898bbbcf177c975f34751a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6a6f68616e6e65626572742f6c61726176656c2d7370616d2d70726f746563746f722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/johannebert/laravel-spam-protector)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE)[![Build Status](https://camo.githubusercontent.com/f0c8ca82ef7626cd0ea773b02f381c4b997d0db85992c3fe3fb044e7e2898df1/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f6a6f68616e6e65626572742f6c61726176656c2d7370616d2d70726f746563746f722f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/johannebert/laravel-spam-protector)[![Total Downloads](https://camo.githubusercontent.com/57fff51f2d629b1b540dbf9d6b2d959ef03efecbc1d78647beed905921a2adff/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6a6f68616e6e65626572742f6c61726176656c2d7370616d2d70726f746563746f722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/johannebert/laravel-spam-protector)

Laravel Spam Protector class to check ip, name, email for spam that uses the StopForumSpam Api

Install
-------

[](#install)

Via Composer

```
$ composer require johannebert/laravel-spam-protector
```

> **Note**: If you are using Laravel 5.5, the next steps are unnecessary. Laravel Spam Protector supports Laravel [Package Discovery](https://laravel.com/docs/5.5/packages#package-discovery).

- After updating composer, add the ServiceProvider to the providers array in `config/app.php`

```
JohannEbert\LaravelSpamProtector\SpamProtectorServiceProvider::class
```

- and for aliases

```
'SpamProtector' => JohannEbert\LaravelSpamProtector\Facades\SpamProtector::class,
```

Usage
-----

[](#usage)

```
$spamProtector = new SpamProtector();

if($spamProtector->isSpamEmail('john@example.com'))
{
    // If given email was registered as a spam your code goes here
}
```

Usage Fasade
------------

[](#usage-fasade)

```
if(SpamProtector::isSpamEmail('john@example.com'))
{
    // If given email was registered as a spam your code goes here
}
```

Testing
-------

[](#testing)

```
$ composer test
```

or

```
$ phpunit
```

Security
--------

[](#security)

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

Credits
-------

[](#credits)

- [Johann Ebert](https://github.com/johannebert)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE) for more information.

###  Health Score

19

—

LowBetter than 9% of packages

Maintenance34

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity15

Early-stage or recently created project

 Bus Factor1

Top contributor holds 69.4% 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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/20481979?v=4)[Striletskyi Slava](/maintainers/strilezkijslawa)[@strilezkijslawa](https://github.com/strilezkijslawa)

---

Top Contributors

[![johannebert](https://avatars.githubusercontent.com/u/19428345?v=4)](https://github.com/johannebert "johannebert (25 commits)")[![approached](https://avatars.githubusercontent.com/u/3439330?v=4)](https://github.com/approached "approached (3 commits)")[![p-andrey](https://avatars.githubusercontent.com/u/45175781?v=4)](https://github.com/p-andrey "p-andrey (2 commits)")[![MadMikeyB](https://avatars.githubusercontent.com/u/831828?v=4)](https://github.com/MadMikeyB "MadMikeyB (2 commits)")[![nonoesp](https://avatars.githubusercontent.com/u/1243210?v=4)](https://github.com/nonoesp "nonoesp (1 commits)")[![ricardoboss](https://avatars.githubusercontent.com/u/6266356?v=4)](https://github.com/ricardoboss "ricardoboss (1 commits)")[![strilezkijslawa](https://avatars.githubusercontent.com/u/20481979?v=4)](https://github.com/strilezkijslawa "strilezkijslawa (1 commits)")[![vstriletskyi](https://avatars.githubusercontent.com/u/167231112?v=4)](https://github.com/vstriletskyi "vstriletskyi (1 commits)")

### Embed Badge

![Health badge](/badges/strilezkijslawa-laravel-spam-protector/health.svg)

```
[![Health](https://phpackages.com/badges/strilezkijslawa-laravel-spam-protector/health.svg)](https://phpackages.com/packages/strilezkijslawa-laravel-spam-protector)
```

###  Alternatives

[mews/purifier

Laravel 5/6/7/8/9/10 HtmlPurifier Package

2.0k18.7M143](/packages/mews-purifier)[paragonie/ecc

PHP Elliptic Curve Cryptography library

24820.0k38](/packages/paragonie-ecc)

PHPackages © 2026

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