PHPackages                             ilhamdev/ipwhitelist - 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. ilhamdev/ipwhitelist

ActiveLibrary[Security](/categories/security)

ilhamdev/ipwhitelist
====================

Simple Ip White List

v1.0(5y ago)0234MITPHP

Since Oct 30Pushed 5y ago1 watchersCompare

[ Source](https://github.com/ilham-dev/laravel-ipwhitelist-package)[ Packagist](https://packagist.org/packages/ilhamdev/ipwhitelist)[ RSS](/packages/ilhamdev-ipwhitelist/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

👽 Simple IP White List
----------------------

[](#-simple-ip-white-list)

How To Install
--------------

[](#how-to-install)

```
composer require ilhamdev/ipwhitelist

```

How To Use
----------

[](#how-to-use)

### Add This Package in app/Http/Kernel.php

[](#add-this-package-in-apphttpkernelphp)

```
protected $routeMiddleware = [
    'ipwhitelist' => \ilhamdev\ipwhitelist\middleware\CheckIpMiddleware::class,
];

```

### In Your .env add your Ip

[](#in-your-env-add-your-ip)

```
APP_IP_WHITELIST=127.0.0.1,192.168.1.1

```

### In Your Controller

[](#in-your-controller)

```
public function __construct()
{
    $this->middleware('ipwhitelist');
}

```

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 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

Unknown

Total

1

Last Release

2018d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/12620000?v=4)[M ilham sabar](/maintainers/ilhamsabar)[@ilhamsabar](https://github.com/ilhamsabar)

---

Top Contributors

[![ilham-dev](https://avatars.githubusercontent.com/u/13794116?v=4)](https://github.com/ilham-dev "ilham-dev (2 commits)")

### Embed Badge

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

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

###  Alternatives

[defuse/php-encryption

Secure PHP Encryption Library

3.9k162.4M212](/packages/defuse-php-encryption)[roave/security-advisories

Prevents installation of composer packages with known security vulnerabilities: no API, simply require it

2.9k97.3M6.4k](/packages/roave-security-advisories)[mews/purifier

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

2.0k16.7M112](/packages/mews-purifier)[robrichards/xmlseclibs

A PHP library for XML Security

41278.1M118](/packages/robrichards-xmlseclibs)[bjeavons/zxcvbn-php

Realistic password strength estimation PHP library based on Zxcvbn JS

86917.5M63](/packages/bjeavons-zxcvbn-php)[enlightn/security-checker

A PHP dependency vulnerabilities scanner based on the Security Advisories Database.

33732.2M110](/packages/enlightn-security-checker)

PHPackages © 2026

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