Package to add IP whitelisting to a Laravel application.
- Add the
WhitelistServiceProvider
to your app config
...
/*
* Package Service Providers...
*/
JosKoomen\Laravel\Whitelist\WhitelistServiceProvider::class,
...
- run
php artisan vendor:publish
and find/selectjk-whitelist
- This will add the middleware
- This will copy the view and config file to your project