PHPackages                             frdl/php-floodprotection - 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. frdl/php-floodprotection

ActiveLibrary[Security](/categories/security)

frdl/php-floodprotection
========================

Simple IP Flood Protection

v0.0.3(5y ago)5327[1 issues](https://github.com/frdl/php-floodprotection/issues)3MITPHPPHP &gt;=7.2

Since Oct 23Pushed 3y ago1 watchersCompare

[ Source](https://github.com/frdl/php-floodprotection)[ Packagist](https://packagist.org/packages/frdl/php-floodprotection)[ RSS](/packages/frdl-php-floodprotection/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (3)DependenciesVersions (4)Used By (3)

php-floodprotection
===================

[](#php-floodprotection)

Simple IP Flood Protection

Code from  as Class.

```
use frdl\security\floodprotection\FloodProtection;

 $FloodProtection = new FloodProtection('login', 10, 30);
 if($FloodProtection->check($_SERVER['REMOTE_ADDR'])){
    header("HTTP/1.1 429 Too Many Requests");
    exit("Hit some *");
 }
```

Bug notice:
===========

[](#bug-notice)

Please note [this bug](https://github.com/frdl/php-floodprotection/issues/1)!

###  Health Score

25

—

LowBetter than 36% of packages

Maintenance16

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity45

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

Total

3

Last Release

2158d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/67333?v=4)[webfan](/maintainers/webfan)[@webfan](https://github.com/webfan)

---

Top Contributors

[![wehowski](https://avatars.githubusercontent.com/u/2658030?v=4)](https://github.com/wehowski "wehowski (13 commits)")

---

Tags

ip-flood-protection

### Embed Badge

![Health badge](/badges/frdl-php-floodprotection/health.svg)

```
[![Health](https://phpackages.com/badges/frdl-php-floodprotection/health.svg)](https://phpackages.com/packages/frdl-php-floodprotection)
```

###  Alternatives

[mews/purifier

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

2.0k18.0M134](/packages/mews-purifier)[paragonie/ecc

PHP Elliptic Curve Cryptography library

24772.0k35](/packages/paragonie-ecc)

PHPackages © 2026

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