PHPackages                             fawno/ip-authentication - 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. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. fawno/ip-authentication

ActiveCakephp-plugin[Authentication &amp; Authorization](/categories/authentication)

fawno/ip-authentication
=======================

IP Authenticator for CakePHP 4.3

0.0.3(1y ago)013MITPHPPHP &gt;=7.2

Since Feb 19Pushed 1y ago2 watchersCompare

[ Source](https://github.com/fawno/IPAuthenticator)[ Packagist](https://packagist.org/packages/fawno/ip-authentication)[ RSS](/packages/fawno-ip-authentication/feed)WikiDiscussions main Synced 1mo ago

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

[![GitHub license](https://camo.githubusercontent.com/321791615e15ea1cd58847ca493314f15d94ede0bb81acce354ca73b3c429b4c/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f6661776e6f2f495041757468656e74696361746f72)](https://github.com/fawno/IPAuthenticator/blob/master/LICENSE)[![GitHub tag (latest SemVer)](https://camo.githubusercontent.com/4f59d52db3b391753af58c8fd735402b99db6fed38960173f7414066aa51a839/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f7461672f6661776e6f2f495041757468656e74696361746f722e737667)](https://github.com/fawno/IPAuthenticator/tags)[![Packagist](https://camo.githubusercontent.com/b40e3619b32a920026884a7e6d0877c6d6908efd8db3e900bf553994114ffe64/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6661776e6f2f69702d61757468656e7469636174696f6e)](https://packagist.org/packages/fawno/ip-authentication)[![Packagist Downloads](https://camo.githubusercontent.com/05e189ed05a85febb4d319aac023e6188268a7b9d15ef284a1ef5e55cef8339e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6661776e6f2f69702d61757468656e7469636174696f6e)](https://packagist.org/packages/fawno/ip-authentication/stats)[![GitHub issues](https://camo.githubusercontent.com/f4a71317bb3968a91f6f29bc22fb6bf9f7aea0875502f1102a3c167dda3f81ca/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732f6661776e6f2f495041757468656e74696361746f72)](https://github.com/fawno/IPAuthenticator/issues)[![GitHub forks](https://camo.githubusercontent.com/b42ac8085b1afe387ebf9df14600af7384a83591fdb4b334a00136693d3d962d/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f666f726b732f6661776e6f2f495041757468656e74696361746f72)](https://github.com/fawno/IPAuthenticator/network)[![GitHub stars](https://camo.githubusercontent.com/aa9e8dbfb147770fa44d2575048499c77cf027abbc5baaa3f94390d808b84b45/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f73746172732f6661776e6f2f495041757468656e74696361746f72)](https://github.com/fawno/IPAuthenticator/stargazers)

IP Authenticator for CakePHP 4 Authentication plugin
====================================================

[](#ip-authenticator-for-cakephp-4-authentication-plugin)

This plugin provides an IP Authenticator for CakePHP 4 authentication plugin.

Table of contents
=================

[](#table-of-contents)

- [Requirements](#requirements)
- [Installation](#installation)

Requirements
------------

[](#requirements)

- PHP &gt;= 7.2.0
- CakePHP &gt;= 4.3.0
- [CakePHP Authentication](https://book.cakephp.org/authentication/2/en/index.html) &gt;= 2.0

[TOC](#table-of-contents)

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

[](#installation)

Install this plugin into your application using [composer](https://getcomposer.org):

- Add `fawno/ip-authentication` package to your project: ```
      composer require fawno/ip-authentication
    ```
- Load the IPAuthenticator in your `Application.php`: ```
    use IPAuthenticator\Authenticator\IPAuthenticator;
    ```
- Load the IPAuthenticator in your Authentication Service (`Application.php`): ```
    // Load the authenticators. Session should be first.
    $service->loadAuthenticator('Authentication.Session');

    $service->loadAuthenticator(IPAuthenticator::class, [
        'auth' => [
            '127.0.0.1' => [
                'username' => 'localhost',
                'displayname' => 'Local Host',
                'dn' => [],
                'memberof' => [
                    'Group' => 'Group',
                ],
            ],
        ],
    ]);
    ```

[TOC](#table-of-contents)

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance43

Moderate activity, may be stable

Popularity5

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity25

Early-stage or recently created project

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

Total

3

Last Release

453d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/f697e53dd9415ba890421aeabac0fae34cf9265e71cd9e5f9b115a4eb6b7e14d?d=identicon)[alphp](/maintainers/alphp)

---

Top Contributors

[![alphp](https://avatars.githubusercontent.com/u/8992091?v=4)](https://github.com/alphp "alphp (5 commits)")

---

Tags

authenticationauthenticatorcakephpcakephp-plugincakephp4ipip-authenticationAuthenticationcakephpIPauthenticator

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/fawno-ip-authentication/health.svg)

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

###  Alternatives

[robthree/twofactorauth

Two Factor Authentication

1.2k10.5M66](/packages/robthree-twofactorauth)[cakedc/users

Users Plugin for CakePHP

524897.0k16](/packages/cakedc-users)[dereuromark/cakephp-tinyauth

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

129228.6k10](/packages/dereuromark-cakephp-tinyauth)[admad/cakephp-jwt-auth

CakePHP plugin for authenticating using JSON Web Tokens

160680.3k8](/packages/admad-cakephp-jwt-auth)[lab404/laravel-auth-checker

Laravel Auth Checker allows you to log users authentication, devices authenticated from and lock intrusions.

223164.9k2](/packages/lab404-laravel-auth-checker)[cakedc/auth

Auth objects for CakePHP

31630.0k2](/packages/cakedc-auth)

PHPackages © 2026

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