tauseedzaman / laravel-ip-location-block
a simple package for blocking ips from your laravel application
Installs: 16
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 1
pkg:composer/tauseedzaman/laravel-ip-location-block
Requires
- php: ^8.1
- illuminate/contracts: ^9.0
This package is auto-updated.
Last update: 2025-10-29 03:25:00 UTC
README
Package blacking/restricting IP's in laravel application
Demo
List of Restricted IP's
 Add New IP
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