vcian/laravel-ip-gateway
Laravel IP Gateway adds middleware and configuration for restricting access by IP address. Easily allow or deny requests, protect routes, and manage whitelists or blacklists with a simple Laravel-friendly setup.
Consider it when:
Look elsewhere when:
X-Forwarded-For / trusted proxies correctly; getting this wrong silently breaks or bypasses the whole control.For executives (one paragraph): We're evaluating a small open-source (MIT) Laravel component that restricts access to parts of our application by IP address — for example, keeping admin tools and pre-production environments off the public internet. It's free, requires roughly half a day of engineering to integrate, and adds a meaningful layer of defense for a very low cost. It is explicitly not a replacement for our firewall, WAF, or DDoS protection; it's a proportionate additional control for internal-facing surfaces. The main tradeoff is dependency risk: the project is small (43 stars, last release August 2024), so we'd pin the version, review the code, assign an owner, and revisit in six to twelve months. Recommendation: pilot it on non-customer-facing routes and measure before broader rollout.
For engineering:
How can I help you explore Laravel packages today?