PHPackages                             alessandrodorazio/laravel-ip-whitelist - 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. alessandrodorazio/laravel-ip-whitelist

ActiveLibrary[Security](/categories/security)

alessandrodorazio/laravel-ip-whitelist
======================================

This is my package laravel-ip-whitelist

042PHP

Since Sep 21Pushed 3y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

laravel-ip-whitelist
====================

[](#laravel-ip-whitelist)

[![Latest Version on Packagist](https://camo.githubusercontent.com/2472cee2ca250f3bd47d050b169f20665bab6bb2306f6a165458be004bf24b71/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f616c657373616e64726f646f72617a696f2f6c61726176656c2d69702d77686974656c6973742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/alessandrodorazio/laravel-ip-whitelist)[![GitHub Tests Action Status](https://camo.githubusercontent.com/30fe4084774c8fd68c7b1e288629b8c43fe3df5feb9122a4fb450b76bf4e339e/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f616c657373616e64726f646f72617a696f2f6c61726176656c2d69702d77686974656c6973742f72756e2d74657374733f6c6162656c3d7465737473)](https://github.com/alessandrodorazio/laravel-ip-whitelist/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/8dea595021b3f498b3c42d2bd93a301e7a88da709a4c1306b6c14b6bd5ac4714/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f616c657373616e64726f646f72617a696f2f6c61726176656c2d69702d77686974656c6973742f436865636b253230262532306669782532307374796c696e673f6c6162656c3d636f64652532307374796c65)](https://github.com/alessandrodorazio/laravel-ip-whitelist/actions?query=workflow%3A%22Check+%26+fix+styling%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/21b56651074761f4b439388270f78413c6f9244ff046b1321758dd0d9f6706e7/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f616c657373616e64726f646f72617a696f2f6c61726176656c2d69702d77686974656c6973742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/alessandrodorazio/laravel-ip-whitelist)

This is where your description should go. Limit it to a paragraph or two. Consider adding a small example.

Support us
----------

[](#support-us)

[![](https://camo.githubusercontent.com/59fe574e0506b3e524643d70a5537929504c863353c2659ffbcc3ee67468e00c/68747470733a2f2f6769746875622d6164732e73332e65752d63656e7472616c2d312e616d617a6f6e6177732e636f6d2f6c61726176656c2d69702d77686974656c6973742e6a70673f743d31)](https://spatie.be/github-ad-click/laravel-ip-whitelist)

We invest a lot of resources into creating [best in class open source packages](https://spatie.be/open-source). You can support us by [buying one of our paid products](https://spatie.be/open-source/support-us).

We highly appreciate you sending us a postcard from your hometown, mentioning which of our package(s) you are using. You'll find our address on [our contact page](https://spatie.be/about-us). We publish all received postcards on [our virtual postcard wall](https://spatie.be/open-source/postcards).

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

[](#installation)

You can install the package via composer:

```
composer require alessandrodorazio/laravel-ip-whitelist
```

You can publish and run the migrations with:

```
php artisan vendor:publish --provider="Alessandrodorazio\LaravelIpWhitelist\LaravelIpWhitelistServiceProvider" --tag="laravel-ip-whitelist-migrations"
php artisan migrate
```

You can publish the config file with:

```
php artisan vendor:publish --provider="Alessandrodorazio\LaravelIpWhitelist\LaravelIpWhitelistServiceProvider" --tag="laravel-ip-whitelist-config"
```

This is the contents of the published config file:

```
return [
];
```

Usage
-----

[](#usage)

```
$laravel-ip-whitelist = new Alessandrodorazio\LaravelIpWhitelist();
echo $laravel-ip-whitelist->echoPhrase('Hello, Alessandrodorazio!');
```

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](.github/CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [Alessandro D'Orazio](https://github.com/alessandrodorazio)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

16

—

LowBetter than 5% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/822f3a68095499cda2d88295301de988d9f430c7fd197dc5840e7660d07f415c?d=identicon)[tchury](/maintainers/tchury)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/alessandrodorazio-laravel-ip-whitelist/health.svg)

```
[![Health](https://phpackages.com/badges/alessandrodorazio-laravel-ip-whitelist/health.svg)](https://phpackages.com/packages/alessandrodorazio-laravel-ip-whitelist)
```

###  Alternatives

[defuse/php-encryption

Secure PHP Encryption Library

3.9k162.4M214](/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.7M113](/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)
