PHPackages                             awescode/ip-firewall - 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. awescode/ip-firewall

ActiveLibrary[Security](/categories/security)

awescode/ip-firewall
====================

The tool for protection your Laravel 5 website by IP. The system works with dynamic tables and you can add your IP to Awescode firewall remotely

1.0.5(9y ago)6100MITPHPPHP &gt;=5.6.0

Since Oct 4Pushed 8y ago2 watchersCompare

[ Source](https://github.com/awescode/IPFirewall)[ Packagist](https://packagist.org/packages/awescode/ip-firewall)[ Docs](https://www.awescode.de)[ RSS](/packages/awescode-ip-firewall/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

Laravel firewall by IP
======================

[](#laravel-firewall-by-ip)

The tool for protection your Laravel 5 website by IP. The system works with dynamic tables and you can add your IP to  Firewall remotely.

Installation
============

[](#installation)

Via Composer

```
$ composer require "awescode/ip-firewall":"1.0.5.@dev"
```

Add service provider to your app.php file to 'providers'

```
\Awescode\IPFirewall\FirewallServiceProvider::class
```

Publish &amp; Migrate firewall table.

```
$ php artisan vendor:publish
$ php artisan migrate
```

Usage
-----

[](#usage)

1. Change values in /config/firewall.php
2. Go to , copy string, put to MySQL for adding your IP to permanent list
3. Make the secret link for dynamic adding IP to system: [http://example.com/?{variable\_from\_firewall\_config}={key\_from\_firewall\_config}](http://example.com/?%7Bvariable_from_firewall_config%7D=%7Bkey_from_firewall_config%7D)

Notice:
=======

[](#notice)

For automaticly adding **temporary** new IP address to firewall use:

- [http://example.com/?{variable\_from\_firewall\_config}={key\_from\_firewall\_config}](http://example.com/?%7Bvariable_from_firewall_config%7D=%7Bkey_from_firewall_config%7D)

For getting SQL query for manual adding **permanent** IP to database:

-  (your IP)
-  (different IP)

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity58

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

3555d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/7932461f5d3d8775210ba7ff5487258ff23c274648a9936341112158aa487480?d=identicon)[Yevhen L.](/maintainers/Yevhen%20L.)

---

Top Contributors

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

---

Tags

laravelIPprotectfirewallprotection

### Embed Badge

![Health badge](/badges/awescode-ip-firewall/health.svg)

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

###  Alternatives

[akaunting/laravel-firewall

Web Application Firewall (WAF) package for Laravel

1.0k494.9k2](/packages/akaunting-laravel-firewall)[ecotone/laravel

Ecotone for Laravel — CQRS, Event Sourcing, Sagas, Durable Workflows, and Outbox on top of Laravel Queue, via PHP attributes.

21313.7k3](/packages/ecotone-laravel)

PHPackages © 2026

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