PHPackages                             cidram/cidram - 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. cidram/cidram

ActiveLibrary[Security](/categories/security)

cidram/cidram
=============

Classless Inter-Domain Routing Access Manager.

v4.2.0(3w ago)11216735[32 issues](https://github.com/CIDRAM/CIDRAM/issues)GPL-2.0-or-laterPHPPHP &gt;=7.2.0CI passing

Since Feb 27Pushed 3d ago11 watchersCompare

[ Source](https://github.com/CIDRAM/CIDRAM)[ Packagist](https://packagist.org/packages/cidram/cidram)[ Docs](https://cidram.github.io/)[ Fund](https://paypal.me/maikuolan)[ Fund](https://ko-fi.com/maikuolan)[ RSS](/packages/cidram-cidram/feed)WikiDiscussions v4 Synced yesterday

READMEChangelog (10)DependenciesVersions (146)Used By (0)

[![v1: PHP >= 5.4](https://camo.githubusercontent.com/c4f805c9950d0bff4ad9d86b1851b3eeef3bf501ae589562db5e76dcf5ef0f25/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f76312d504850253230253345253344253230352e342d3838393262662e737667)](https://maikuolan.github.io/Compatibility-Charts/)[![v2~v4: PHP >= 7.2](https://camo.githubusercontent.com/475023d4dd5478d9c1c041f71e7364fd0856a0f8a07ed83e6888d69e9815f998/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f763225374576342d504850253230253345253344253230372e322d3838393262662e737667)](https://maikuolan.github.io/Compatibility-Charts/)[![License: GPL v2](https://camo.githubusercontent.com/77e900ae34f8da9ccccc42662fce61a94ab07ddbfe3f7d066178e824f3673dbd/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d47504c25323076322d626c75652e737667)](https://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html)[![PRs Welcome](https://camo.githubusercontent.com/b6fe512cad13e5de9ccd5eae66f2524a55c4dee64d69ed8697b72c5c4b2a19dc/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5052732d57656c636f6d652d627269676874677265656e2e737667)](http://makeapullrequest.com)

**What is CIDRAM?**
-------------------

[](#what-is-cidram)

CIDRAM (Classless Inter-Domain Routing Access Manager) is a PHP script designed to protect websites by blocking requests originating from IP addresses regarded as being sources of undesirable traffic, including (but not limited to) traffic from non-human access endpoints, cloud services, spambots, scrapers, etc. It does this by calculating the possible CIDRs of the IP addresses supplied from inbound requests and then attempting to match these possible CIDRs against its signature files (these signature files contain lists of CIDRs of IP addresses regarded as being sources of undesirable traffic); If matches are found, the requests are blocked.

---

### Features:

[](#features)

- Licensed as [GNU General Public License version 2.0](https://github.com/CIDRAM/CIDRAM/blob/v3/LICENSE.txt) (GPLv2).
- Easy to install, easy to customise, easy to use.
- Works for any system with PHP+PCRE installed, regardless of OS (PHP+PCRE required).
- Fully configurable based on your needs.
- Ideal solution for websites and forum systems using shared hosting services.
- Does NOT require shell access.
- Does NOT require administrative privileges.
- Good, strong, stable support base.

---

### Documentation:

[](#documentation)

- **[English](https://github.com/CIDRAM/Docs/blob/master/readme.en.md)**
- **[العربية](https://github.com/CIDRAM/Docs/blob/master/readme.ar.md)**
- **[Deutsch](https://github.com/CIDRAM/Docs/blob/master/readme.de.md)**
- **[Español](https://github.com/CIDRAM/Docs/blob/master/readme.es.md)**
- **[Français](https://github.com/CIDRAM/Docs/blob/master/readme.fr.md)**
- **[Bahasa Indonesia](https://github.com/CIDRAM/Docs/blob/master/readme.id.md)**
- **[Italiano](https://github.com/CIDRAM/Docs/blob/master/readme.it.md)**
- **[日本語](https://github.com/CIDRAM/Docs/blob/master/readme.ja.md)**
- **[한국어](https://github.com/CIDRAM/Docs/blob/master/readme.ko.md)**
- **[Nederlandse](https://github.com/CIDRAM/Docs/blob/master/readme.nl.md)**
- **[Português](https://github.com/CIDRAM/Docs/blob/master/readme.pt.md)**
- **[Русский](https://github.com/CIDRAM/Docs/blob/master/readme.ru.md)**
- **[اردو](https://github.com/CIDRAM/Docs/blob/master/readme.ur.md)**
- **[Tiếng Việt](https://github.com/CIDRAM/Docs/blob/master/readme.vi.md)**
- **[中文（简体）](https://github.com/CIDRAM/Docs/blob/master/readme.zh-Hans.md)**
- **[中文（傳統）](https://github.com/CIDRAM/Docs/blob/master/readme.zh-Hant.md)**

[\[CONTRIBUTING.md\] **Want to help?**](https://github.com/CIDRAM/.github/blob/master/CONTRIBUTING.md)

---

Last Updated: 14 August 2025 (2025.08.14).

###  Health Score

58

—

FairBetter than 98% of packages

Maintenance92

Actively maintained with recent releases

Popularity29

Limited adoption so far

Community26

Small or concentrated contributor base

Maturity76

Established project with proven stability

 Bus Factor1

Top contributor holds 99.1% 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 ~26 days

Recently: every ~4 days

Total

146

Last Release

4d ago

Major Versions

v2.17.4 → v3.12.02026-06-10

v3.12.0 → v4.2.02026-06-10

v1.x-dev → v2.x-dev2026-06-26

v2.x-dev → v3.x-dev2026-06-26

v3.x-dev → v4.x-dev2026-06-26

PHP version history (4 changes)v0.1.0PHP &gt;=5.3.0

v0.5.0PHP &gt;=5.5.0

v0.6.1PHP &gt;=5.4.0

v2.0.0PHP &gt;=7.2.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/750f71fb6ec639f663633b6bae97f40f8c86d08cbf8a01915f7f105de7b79a32?d=identicon)[Maikuolan](/maintainers/Maikuolan)

---

Top Contributors

[![Maikuolan](https://avatars.githubusercontent.com/u/12571108?v=4)](https://github.com/Maikuolan "Maikuolan (2890 commits)")[![DanielRuf](https://avatars.githubusercontent.com/u/827205?v=4)](https://github.com/DanielRuf "DanielRuf (10 commits)")[![Andrulko](https://avatars.githubusercontent.com/u/9363547?v=4)](https://github.com/Andrulko "Andrulko (3 commits)")[![frommMoritz](https://avatars.githubusercontent.com/u/34239260?v=4)](https://github.com/frommMoritz "frommMoritz (2 commits)")[![iruy](https://avatars.githubusercontent.com/u/8875681?v=4)](https://github.com/iruy "iruy (2 commits)")[![gitter-badger](https://avatars.githubusercontent.com/u/8518239?v=4)](https://github.com/gitter-badger "gitter-badger (1 commits)")[![m7mdtiger](https://avatars.githubusercontent.com/u/8851759?v=4)](https://github.com/m7mdtiger "m7mdtiger (1 commits)")[![naveen17797](https://avatars.githubusercontent.com/u/18109258?v=4)](https://github.com/naveen17797 "naveen17797 (1 commits)")[![neufeind](https://avatars.githubusercontent.com/u/910025?v=4)](https://github.com/neufeind "neufeind (1 commits)")[![slrslr](https://avatars.githubusercontent.com/u/6596726?v=4)](https://github.com/slrslr "slrslr (1 commits)")[![Arnauinho](https://avatars.githubusercontent.com/u/28297669?v=4)](https://github.com/Arnauinho "Arnauinho (1 commits)")[![dev-101](https://avatars.githubusercontent.com/u/5383059?v=4)](https://github.com/dev-101 "dev-101 (1 commits)")[![divinity76](https://avatars.githubusercontent.com/u/1874996?v=4)](https://github.com/divinity76 "divinity76 (1 commits)")[![elza3ym](https://avatars.githubusercontent.com/u/19489360?v=4)](https://github.com/elza3ym "elza3ym (1 commits)")

---

Tags

anti-spamasnblacklistblockerblocklistcidrcidramcloudfirewallhacktoberfestip-addressopen-sourceopensourcephpprotectionroutingsecuritysignatureswafcloudsecurityroutingIPfirewallanti-spamprotectioncidrasnsubnetsblocker

### Embed Badge

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

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

###  Alternatives

[phpmussel/phpmussel

PHP-based anti-virus anti-trojan anti-malware solution.

429233.8k1](/packages/phpmussel-phpmussel)[akaunting/laravel-firewall

Web Application Firewall (WAF) package for Laravel

1.0k508.9k2](/packages/akaunting-laravel-firewall)[phpmussel/core

phpMussel core

10199.4k10](/packages/phpmussel-core)[s1syphos/php-simple-captcha

Simple captcha generator

2639.5k9](/packages/s1syphos-php-simple-captcha)[causal/fal-protect

Protect everything within /fileadmin/ based on associated folder and file restrictions (visibility, user groups and dates of publication).

1274.6k](/packages/causal-fal-protect)[websoftwares/throttle

Ban identifier after certain amount of requests in a given timeframe.

1251.2k](/packages/websoftwares-throttle)

PHPackages © 2026

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