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
100 6
Install
composer require awescode/ip-firewall
Latest Version:1.0.5
PHP:>=5.6.0
Laravel:5
License:MIT
Last Updated:Jul 28, 2017
Links: GitHub  ·  Packagist
Maintainer: Yevhen L.

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 https://www.awescode.de Firewall remotely.

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 & Migrate firewall table.

$ php artisan vendor:publish
$ php artisan migrate

Usage

  1. Change values in /config/firewall.php
  2. Go to http://example.com/ip-firewall, 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}

Notice:

For automaticly adding temporary new IP address to firewall use:

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

Related Packages

cresjie/ip-blocker

Laravel IP address blocker

40 3
magentron/laravel-firewall

Laravel IP firewall — whitelist, blacklist, and attack blocking. Fork of pragmar...

1,140 0
laravel-validation-rules/ip

Validate if an ip address is public or private.

29,776 16
salehye/laravel-security

🔥 Advanced Security Package for Laravel 12 - The most comprehensive security so...

5 0
pragmarx/firewall

A Laravel IP whitelisting and blacklisting

1,021,057 1,405

Version History

Version Released PHP Laravel License
1.0.5 >=5.6.0 5.* MIT