2017 © Pedro Peláez
 

library laravel-firewall

A small Laravel package to help you block IP addresses from accessing your application

image

nckg/laravel-firewall

A small Laravel package to help you block IP addresses from accessing your application

  • Sunday, April 2, 2017
  • by nckg
  • Repository
  • 1 Watchers
  • 2 Stars
  • 41 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 5 Versions
  • 32 % Grown

The README.md

HTML minifier

Build Status Packagist Packagist, (*1)

Introduction

Very simple package to allow access to your Laravel application by IP., (*2)

Installation

You can install the package via composer:, (*3)

``` bash composer require nckg/laravel-firewall, (*4)


Add the `FirewallServiceProvider` to you `config/app.php` file. ```php // config/app.php 'providers' => [ ... Nckg\Firewall\FirewallServiceProvider::class, ... ]

Publish the configuration file to your configuration path:, (*5)

php artisan vendor:publish --provider="Nckg\Firewall\FirewallServiceProvider"

If you are using Laravel you can add the middleware to your middleware providers, (*6)

// app/Http/Kernel.php
/**
 * The application's global HTTP middleware stack.
 *
 * @var array
 */
protected $middleware = [
    ...
    \Nckg\Firewall\Middleware\IpAccess::class,
];

Testing

bash composer test, (*7)

License

The MIT License (MIT)., (*8)

The Versions

02/04 2017

dev-master

9999999-dev

A small Laravel package to help you block IP addresses from accessing your application

  Sources   Download

MIT

The Requires

  • php ^7.0

 

The Development Requires

by Nick Goris

07/03 2017

0.1.5

0.1.5.0

A small Laravel package to help you block IP addresses from accessing your application

  Sources   Download

MIT

The Requires

  • php ^7.0

 

The Development Requires

by Nick Goris

07/03 2017

0.1.4

0.1.4.0

A small Laravel package to help you block IP addresses from accessing your application

  Sources   Download

MIT

The Requires

  • php ^7.0

 

The Development Requires

by Nick Goris

07/03 2017

0.1.3

0.1.3.0

A small Laravel package to help you block IP addresses from accessing your application

  Sources   Download

MIT

The Requires

  • php ^7.0

 

The Development Requires

by Nick Goris

07/03 2017

0.1.2

0.1.2.0

A small Laravel package to help you block IP addresses from accessing your application

  Sources   Download

MIT

The Requires

  • php ^7.0

 

The Development Requires

by Nick Goris