New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

overflowsith/firewall

simple, configuration based firewall for laravel
104 3

Larablocks Analysis

overflowsith/firewall works with Laravel 4 (latest release v0.1.1, Feb 9, 2015), which reached end of life: no more fixes, even for security.

Recommendation checks

Not advised

Not advised: no release or commit in over 2 years.

  • No release or commit in over 2 years
  • Supports only Laravel 4, past end of life
  • No release in the last 12 months (last: Feb 9, 2015)
  • 0 downloads a month (needs 10,000)
  • 3 GitHub stars (needs 100)

State

Likely abandoned
  • No release or commit in over 2 years.
  • Last stable release: Feb 9, 2015.
  • No releases in the last 12 months.
  • First released: Feb 5, 2015.
  • 0 open issues on GitHub.

Data from Packagist and GitHub, checked by Larablocks on Dec 2, 2026.

Install
composer require overflowsith/firewall
Latest Version:v0.1.1
PHP:>=5.4.0
Laravel:4
Last Updated:Feb 9, 2015
Links: GitHub  ·  Packagist
Maintainer: overflowsith

Installation

Add the package to your composer.json file and run composer update:

{
    "require": {
        "overflowsith/firewall": "dev-master"
    }
}

Add Overflowsith\Firewall\FirewallServiceProvider to your app/config/app.php file, inside the providers array.

Publish the package's config with php artisan config:publish overflowsith/firewall, so you can easily modify it in: app/config/packages/overflowsith/firewall/config.php

Usage

This firewall package can be use in the App::before filter

App::before(function($request)
{
    if (Firewall::isNotAllowed($request->ip())) {
        return Firewall::renderAccessDenied();
    }
});

Configuration

Firewall status

  • disabled: every IP is allowed
  • permissive: only IP addresses that are not in the blacklist are allowed
  • enforcing: an IP must be in the whitelist and not in the blacklist

Whitelist and blacklist

You can set an array of IP addresses with or without wildcards, for example

   '127.0.0.1',
   '192.168.*',

Related Packages

atendwa/whitelist

This is my package whitelist

1,148 0
cresjie/ip-blocker

Laravel IP address blocker

40 3
jeffersongoncalves/laravel-scanner-guard

Detect and ban vulnerability-scanner traffic on Laravel apps, with optional ASN-...

3,369 9
notwonderful/filament-cloudflare

Cloudflare management plugin for Filament PHP - Manage Cloudflare settings, fire...

23 4
jeffersongoncalves/filament-scanner-guard

Filament UI for jeffersongoncalves/laravel-scanner-guard: list, filter and unban...

1,918 10

Version History

Version Released PHP Laravel License
v0.1.1 >=5.4.0 4.2.*
v0.1.0 >=5.4.0 4.2.*