Skip to content

MrYamous/laravel-route-debugger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Laravel Route Debugger

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.


Features

  • 🔍 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

Usage

Match a URI against your routes

Check if a given URI matches any of your routes:

php artisan route:match /users/5
php artisan route:match /users/5 --method=POST

Show detailed information about a route

Display detailed information about a route by its name:

php artisan route:debug users.show

License

This bundle is released under the MIT License. See the LICENSE file for details.

Support

If you encounter any issues or have questions, please open an issue on GitHub.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages