Package blacking/restricting IP's in laravel application
List of Restricted IP's Add New IP
You can install the package via composer:
composer require tauseedzaman/laravel-ip-blocker
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