atomjuice / ipwhitelist
Installs: 47
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 3
Forks: 1
Type:package
pkg:composer/atomjuice/ipwhitelist
Requires
- laravel/framework: ^5.4
This package is not auto-updated.
Last update: 2025-09-28 08:43:35 UTC
README
This package is designed to work with the mpociot/teamwork package for Laravel 5..
Installation
You can install this package with composer:
composere require atomjuice\ipwhitelist
Add the middleware below to your $routeMiddleware
in App\Http\Kernel.php
.
protected $routeMiddleware = [ ... 'ip' => \AtomJuice\IpWhitelist\Http\Middleware\IpWhitelist::class, ];
You can then add it to app API requests like below
'api' => [ ... 'ip' ],