A Laravel package that provides console commands to inspect and debug your application routes.
This package is inspired by Symfony router commands and improves on Laravel’s built-in route:list
by offering focused debugging tools.
- 🔍 Route matching: Check if a given URI matches a route, with optional HTTP method filtering
- 🧭 Detailed inspection: Display route details (path, methods, controller, middlewares) for a specific route by name
- ⚡ Fast and lightweight: Built on Laravel’s
Route
facade for minimal overhead - 🎨 Readable output: Clean, formatted console output for faster debugging
Check if a given URI matches any of your routes:
php artisan route:match /users/5
php artisan route:match /users/5 --method=POST
Display detailed information about a route by its name:
php artisan route:debug users.show
This bundle is released under the MIT License. See the LICENSE file for details.
If you encounter any issues or have questions, please open an issue on GitHub.