pratik-dabhi/laravel-firewall
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.
pratik-dabhi/laravel-firewall to resolve Packagist conflicts.Dynamic Rule Engine: Refactored FirewallManager to support dynamic, class-based rules via config/firewall.php for easier custom rule integration.
Performance-Optimized Logging: Introduced deferred batch logging during the middleware terminate phase and added support for custom Eloquent models via firewall.logging.model.
Native Rate Limiting: Migrated core rate-limiting logic to Laravel’s native RateLimiter facade for better reliability and cache driver compatibility.
SOLID GeoIP Integration: Decoupled CountryRule from concrete GeoIP implementations using GeoIPServiceInterface, allowing for easier mocking and custom providers.
Customizable Dashboard Security: Added a firewall.dashboard.middleware configuration to allow custom middleware stacks (like auth or admin) on package routes.
Dashboard with today's blocks & total logs
Threat breakdown by type
Logs viewer with search
How can I help you explore Laravel packages today?