skydiver/laravel-route-blocker
Block routes in Laravel with a simple, configurable middleware layer. Restrict access by IP, environment, or custom rules, and return clean 403 responses. Lightweight and easy to drop into any Laravel app.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| pragmarx/firewall | 0.85 | A Laravel firewall package for managing IP blacklists and whitelists. It provides middleware, database-backed rules, and Artisan commands to block or allow requests by IP address (and optionally country), helping protect your app from unwanted traffic. | 1,406 | 1,417 | 172 | 5K | 37 | 23.7 | 23.2 | BSD-3-Clause | — | |
| webtoppings/ipwhitelisting | 0.84 | — | 1 | 1 | 0 | 1 | 0 | 0.0 | 2.4 | MIT | — | |
| grizzlylab/deny-routes-by-env-bundle | 0.84 | Symfony bundle that restricts routes to specific environments, letting you deny configured paths outside allowed envs. Simple configuration keeps dev-only or admin routes unreachable in production without touching controllers or firewall rules. | 4 | 5 | 0 | 95 | 0 | 0.0 | 18.0 | MIT | — | |
| vcian/laravel-ip-gateway | 0.83 | 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. | 43 | — | 9 | — | 0 | 0.8 | — | MIT | 2 years ago | |
| pratik-dabhi/laravel-firewall | 0.82 | Laravel firewall middleware for blocking abusive traffic by IP rules such as allow/deny lists and access restrictions. Helps protect routes and applications from unwanted requests with simple configuration and integration into a Laravel app. | 1 | 1 | 0 | 0 | 0 | 13.2 | — | MIT | 7 months ago | |
| cresjie/ip-blocker | 0.82 | 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. | 3 | 3 | 0 | 0 | 0 | 0.9 | — | MIT | 9 years ago | |
| rappasoft/lockout | 0.82 | Laravel Lockout is a simple package that locks user accounts after a configurable number of failed login attempts, helping protect applications from brute-force attacks. It includes middleware, events, and customizable lockout behavior for Laravel authentication. | 96 | — | 7 | — | 0 | 19.6 | — | MIT | 4 weeks ago | |
| erdemkeren/laravel-otp | 0.82 | A Laravel package for one-time password authentication. It generates and verifies short-lived OTP codes with configurable expiry, token length, and storage, making it easy to add secure OTP flows to login, registration, or sensitive actions. | 157 | — | 26 | — | 7 | 3.8 | 1.9 | MIT | 5 years ago | |
| codezero/laravel-stagefront | 0.82 | codezero/laravel-stagefront gives Laravel apps a lightweight staging front end for previewing UI and content changes before release, with middleware-based access control and simple configuration that fits existing routing and review workflows. | 22 | 22 | 5 | 1K | 3 | 1.2 | 25.3 | MIT | 2 years ago | |
| romanzipp/laravel-turnstile | 0.82 | Laravel package for integrating Cloudflare Turnstile into your forms. Includes validation rules, middleware, and a Blade component to protect against bots and spam with a privacy-friendly captcha alternative to reCAPTCHA. | 31 | 32 | 5 | 10K | 2 | 0.7 | 34.1 | MIT | — | |
| 14four/laravel-force-https | 0.82 | Laravel middleware package to force HTTPS across your app. Automatically redirects HTTP requests to HTTPS, with options to exclude paths or environments so you can keep local/testing flexible while enforcing secure connections in production. | 0 | 0 | — | 0 | — | 0.0 | — | — | — | |
| mulertech/scanner-ban-bundle | 0.82 | A Laravel/PHP bundle for detecting and banning malicious scanners and suspicious traffic. It integrates with your app to block unwanted requests, helping protect endpoints and reduce noise from automated probes. | 0 | — | 0 | — | 0 | 17.5 | — | MIT | 2 months ago | |
| subhashladumor1/laravel-cybershield | 0.82 | Enterprise security intelligence for Laravel: signature-based WAF, adaptive rate limiting, bot fingerprinting, API integrity checks, threat scoring, malware scanning, and forensic logging—working together to block modern attacks. Beta; APIs may change. | 15 | 15 | 1 | 0 | 0 | 8.9 | — | MIT | 7 months ago | |
| 14four/laravel-force-host | 0.82 | Middleware for Laravel that forces a single canonical host for all requests. Automatically redirects to your configured domain (and optionally scheme), preventing duplicate URLs across www/non-www and improving SEO, cache consistency, and security. | 0 | 0 | — | 0 | — | 0.0 | — | — | — | |
| juststeveking/laravel-bastion | 0.81 | Laravel Bastion gives your Laravel application a fortified foundation, bundling the conventions and groundwork you'd otherwise rebuild for every project so you can focus on shipping features. Lightweight, framework-friendly, and simple to drop into new or existing apps. | 109 | 109 | 5 | 15 | 4 | 2.1 | 1.9 | MIT | 1 year ago | |
| darkghosthunter/laraguard | 0.81 | Laraguard brings TOTP-based two-factor authentication to Laravel. It offers a dedicated auth guard, middleware, recovery codes, QR-code onboarding, and events, making it easy to secure logins with Google Authenticator-compatible codes. | 264 | — | 24 | — | 0 | 1.1 | — | MIT | 4 years ago |
|
| fidum/padlock | 0.81 | Fidum Padlock is a Laravel package that adds simple password protection to your app or selected routes. Configure a password, apply the middleware, and keep staging sites, admin areas, or private pages locked behind a lightweight session-based lock. | 19 | 19 | 0 | 0 | 0 | 0.6 | — | MIT | 1 year ago | |
| middlewares/client-ip | 0.81 | A Laravel middleware for reliably resolving the client's real IP address, including requests passing through proxies, load balancers, and CDNs. Supports forwarded headers and configurable trusted proxies for accurate IP detection. | 16 | — | 8 | — | 1 | 0.4 | — | MIT | 1 year ago |
|
| marshmallow/ip-access | 0.81 | marshmallow/ip-access is a Laravel package for IP-based access control. It lets you protect routes with configurable allowlists and denylists, supporting individual IP addresses, CIDR ranges, and middleware-driven rules for simple, centralized request filtering. | 0 | 1 | 1 | 257 | 0 | 19.3 | 38.9 | MIT | 1 month ago | |
| robertboes/laravel-cloudflare-proxies | 0.81 | Laravel package for handling Cloudflare proxy IPs so your app sees the real visitor IP. It helps configure trusted proxies and resolve client addresses correctly behind Cloudflare, keeping rate limiting, logging, and security checks accurate. | 0 | 0 | 0 | 20 | 1 | 18.5 | 21.2 | MIT | 1 month ago |
How can I help you explore Laravel packages today?