PHPackages                             tyrellsys/cakephp3-ip-filter - 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. tyrellsys/cakephp3-ip-filter

ActiveCakephp-plugin[Security](/categories/security)

tyrellsys/cakephp3-ip-filter
============================

restrict access by ip address for CakePHP3

v0.1.1(5y ago)16.3k2[2 PRs](https://github.com/tyrellsys/cakephp3-ip-filter/pulls)PHPPHP &gt;=5.6CI failing

Since Jul 9Pushed 6mo ago16 watchersCompare

[ Source](https://github.com/tyrellsys/cakephp3-ip-filter)[ Packagist](https://packagist.org/packages/tyrellsys/cakephp3-ip-filter)[ RSS](/packages/tyrellsys-cakephp3-ip-filter/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (5)Dependencies (3)Versions (12)Used By (0)

cakephp3-ip-filter
==================

[](#cakephp3-ip-filter)

restrict access by ip address for CakePHP3 Component

Installation
------------

[](#installation)

You can install this plugin into your CakePHP application using [composer](http://getcomposer.org).

The recommended way to install composer packages is:

```
composer require tyrellsys/cakephp3-ip-filter

```

Configuration
-------------

[](#configuration)

Controller::initialize

```
...
        public function initialize($event)
        {
....
            $this->loadComponent('Tyrellsys/CakePHP3IpFilter.IpFilter', [
                'trustProxy' => true,
                'whitelist' => '192.168.0.0/24' // array OR comma separate value
            ]);
...

```

Method
------

[](#method)

- `bool check(string $ip = null)` - returns compare `whitelist`.
- `void checkOrFail(string $ip = null)` - throws \\Cake\\Http\\Exception\\ForbiddenException when bad ip address.

###  Health Score

36

—

LowBetter than 82% of packages

Maintenance47

Moderate activity, may be stable

Popularity24

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 Bus Factor1

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

Every ~102 days

Total

5

Last Release

2098d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/94c61c4432733be8a29ec479b4f1db54e6efb90751833ebfc645cb94f283cda6?d=identicon)[mtak3](/maintainers/mtak3)

---

Top Contributors

[![mtak3](https://avatars.githubusercontent.com/u/1726154?v=4)](https://github.com/mtak3 "mtak3 (14 commits)")[![nishimura-d](https://avatars.githubusercontent.com/u/1948725?v=4)](https://github.com/nishimura-d "nishimura-d (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/tyrellsys-cakephp3-ip-filter/health.svg)

```
[![Health](https://phpackages.com/badges/tyrellsys-cakephp3-ip-filter/health.svg)](https://phpackages.com/packages/tyrellsys-cakephp3-ip-filter)
```

###  Alternatives

[mews/purifier

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

2.0k16.7M113](/packages/mews-purifier)[cakephp-fr/recaptcha

To easily use Google Recaptcha (free CAPTCHA service that protect websites from spam and abuse) in CakePHP projects

1419.3k](/packages/cakephp-fr-recaptcha)[muffin/tokenize

Security Tokens

1319.0k1](/packages/muffin-tokenize)[cake17/cakephp-recaptcha

\[DEPRECIATED\] Please use https://github.com/cakephp-fr/recaptcha/

1211.0k1](/packages/cake17-cakephp-recaptcha)

PHPackages © 2026

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