laravel-ip-location-block maintained by tauseedzaman
Description
a simple package for blocking ips from your laravel application
Author
Last update
2022/05/31 09:29
(dev-master)
License
Downloads
16
Tags
Laravel-ip-blocker
Package blacking/restricting IP's in laravel application
Demo
List of Restricted IP's
Add New IP

Installation
You can install the package via composer:
composer require tauseedzaman/laravel-ip-blocker
Configuratoin
first publish the views
php artisan vendor:publish
then look for
tauseedzaman\LaravelIpBlocker\IpBlockerServiceProvider
and choose that number and hit enter
Now add run the migrations
php artisan migrate
Now add the following to App\Http\Kernel.php in the $middleware group at first position
\tauseedzaman\LaravelIpBlocker\Middleware\IpBlockerMiddleware::class
Now thats's set you can view the GUI in
yourDoman.test/restricted-ips