Laravel route map
Paste the output of php artisan route:list --json to browse your routes by section, filter them, and find the ones with no name or no auth middleware.
Why it asks for JSON
The plain route:list table is built for a terminal. It shortens long controller names with an ellipsis and fits its columns to the window width, so text copied from it is incomplete. --json prints every route in full, with its middleware.
php artisan route:list --json
php artisan route:list --json --except-vendor # your routes only
php artisan route:list --json --path=api # one part of the app
Reading the map
- Routes are grouped by the first segment of the URI, so
/admin/usersand/admin/planssit together. - Without a name lists routes you cannot reach with
route(). Naming them lets you change a URI later without hunting for hard-coded links. - Writes with no auth middleware lists POST, PUT, PATCH and DELETE routes whose middleware has no
authentry. Some are meant to be public, such as login, registration and webhooks. The list is a prompt to check each one. GET|HEADis one route. Laravel adds HEAD to every GET route.
Good to know about Laravel routes
- If two routes share a method and URI, the one defined later replaces the earlier one. Only the survivor appears in
route:list. routes/api.phpis not part of a new Laravel 13 app.php artisan install:apiadds it.php artisan route:cachespeeds up route registration in production. Run it on deploy, and never in local development, where it hides new routes until you clear it.
Sources: Laravel 13 routing and the framework's RouteListCommand.
Building a SaaS on Laravel? Start with the foundation already built.
Stack Toast is a Laravel 13 starter kit with authentication, billing through four payment processors, teams and a complete admin panel. Choose Livewire, React, Vue or API.
- From $199, one payment
- Full GitHub source
- Unlimited projects
- 30-day money-back guarantee
