Manage 404 Errors and Redirects for Laravel Applications
This open-source package for Laravel 11 and 12 provides a robust solution for logging 404 errors and managing 301 redirects directly from a database. It helps you keep track of broken URLs, fix them efficiently without requiring code deployments, and offers an optional Filament admin panel for seamless management.
- Log 404 Paths: Records unmatched public GET/HEAD URLs along with their hit counts and timestamps.
- Database-Driven Redirects: Easily set up 301 redirects through a database table, allowing for dynamic updates.
- Early Middleware Integration: Redirects are handled by middleware before the routing process begins, ensuring broken links are caught early.
- Optional Filament Admin Panel: Provides an intuitive interface to review 404 hits and configure redirects.
- Flexible Configuration: Supports configurable path exclusions, normalization, and caching for optimized performance.
- Easy Installation: Auto-wired on installation with minimal configuration changes needed for most applications.
Requirements: PHP ^8.2, Laravel ^11.0 or ^12.0. Optional: Filament ^3.0 or ^4.0 for the admin UI.