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 7mo 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 today

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 79% of packages

Maintenance44

Moderate activity, may be stable

Popularity24

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity51

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

2144d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1726154?v=4)[TS\_瀧澤 充浩（Takizawa Mitsuhiro）](/maintainers/mtak3)[@mtak3](https://github.com/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

[cakephp/debug_kit

CakePHP Debug Kit

86314.7M171](/packages/cakephp-debug-kit)[cakephp/bake

Bake plugin for CakePHP

11212.0M202](/packages/cakephp-bake)[dereuromark/cakephp-queue

The Queue plugin for CakePHP provides deferred task execution.

308954.9k25](/packages/dereuromark-cakephp-queue)[dereuromark/cakephp-ide-helper

CakePHP IdeHelper Plugin to improve auto-completion

1882.3M44](/packages/dereuromark-cakephp-ide-helper)[dereuromark/cakephp-tools

A CakePHP plugin containing lots of useful and reusable tools

3361.0M51](/packages/dereuromark-cakephp-tools)[dereuromark/cakephp-tinyauth

A CakePHP plugin to handle user authentication and authorization the easy way.

131240.2k13](/packages/dereuromark-cakephp-tinyauth)

PHPackages © 2026

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