Skip to content

joskoomen/laravel-whitelisting

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Jos Koomen : Laravel Whitetlist

Package to add IP whitelisting to a Laravel application.

Install

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