cresjie/ip-blocker
Simple Laravel 5 IP blocker. Install via Composer, publish config, and list blocked IPs in config/cresjie/block-ip.php. When a request matches, it throws IpBlockerException so you can render a custom “blocked” view in your exception handler.
Adopt if:
.env or database) with minimal dev effort.Look elsewhere if:
laravel-throttle or spatie/rate-limiter)..htaccess rules, Cloudflare WAF).For Executives: "This lightweight Laravel package lets us block malicious IPs in hours—not weeks—with zero dev overhead. For ~$0 cost, we can harden security against brute-force attacks, spam, or geoblocking without hiring specialists. It’s a low-risk way to reduce support tickets from bad actors while we evaluate longer-term solutions like a WAF. Given its MIT license and minimal maintenance needs, it’s a no-brainer for quick wins."
For Engineering:
*"The cresjie/ip-blocker package provides a dead-simple way to block IPs via Laravel middleware, using:
blocked_ips table or .env config).How can I help you explore Laravel packages today?