PHPackages                             aneek/slim-ip-restrict - 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. aneek/slim-ip-restrict

ActiveLibrary[Security](/categories/security)

aneek/slim-ip-restrict
======================

Slim Framework middleware for allowing application access for specific IP addresses.

1.x-dev(10y ago)016MITPHPPHP &gt;= 5.5.0

Since Oct 29Pushed 10y ago2 watchersCompare

[ Source](https://github.com/aneek/Slim-IP-Restrict)[ Packagist](https://packagist.org/packages/aneek/slim-ip-restrict)[ RSS](/packages/aneek-slim-ip-restrict/feed)WikiDiscussions 1.x Synced 1mo ago

READMEChangelogDependencies (2)Versions (3)Used By (0)

Slim-IP-Restrict
================

[](#slim-ip-restrict)

IP Restriction Middleware for Slim Framework V3

[![Build Status](https://camo.githubusercontent.com/1f47002241e7ec32f54012f5d51566a6cc98c497bd99811b049eff912063613e/68747470733a2f2f7472617669732d63692e6f72672f616e65656b2f536c696d2d49502d52657374726963742e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/aneek/Slim-IP-Restrict)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/c6486689dae2007e2c4a6f3255c7300c33d3eff199a0233070c059e8ba58ec4c/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f616e65656b2f536c696d2d49502d52657374726963742f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/aneek/Slim-IP-Restrict/?branch=master)

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity45

Maturing project, gaining track record

 Bus Factor1

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

Unknown

Total

1

Last Release

3854d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/9f46ca0259e78754294b445f0da274f0d6927f02e1d5dfc14ce5ab32cdafc219?d=identicon)[aneek](/maintainers/aneek)

---

Top Contributors

[![aneek](https://avatars.githubusercontent.com/u/584583?v=4)](https://github.com/aneek "aneek (12 commits)")[![scrutinizer-auto-fixer](https://avatars.githubusercontent.com/u/6253494?v=4)](https://github.com/scrutinizer-auto-fixer "scrutinizer-auto-fixer (1 commits)")

---

Tags

middlewareslim-frameworkip restrict

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/aneek-slim-ip-restrict/health.svg)

```
[![Health](https://phpackages.com/badges/aneek-slim-ip-restrict/health.svg)](https://phpackages.com/packages/aneek-slim-ip-restrict)
```

###  Alternatives

[masterro/laravel-xss-filter

Filter user input for XSS but don't touch other html

41254.5k](/packages/masterro-laravel-xss-filter)[stevenmaguire/laravel-middleware-csp

Provides support for enforcing Content Security Policy with headers in Laravel responses.

39107.6k](/packages/stevenmaguire-laravel-middleware-csp)[ayesh/stateless-csrf

Secret-key based state-less CSRF token generator and validator for PHP 8. State-less means you do not have to store the CSRF token in session or database.

3223.3k](/packages/ayesh-stateless-csrf)

PHPackages © 2026

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