Routes
Routes on the Laravel tab lists the app’s routes from php artisan route:list --json as a table.
▲ laraport › Production › shop-app-1 › Routes ● ssh shop.example.com filter › orders · POST api · auth:sanctum · OrderController Routes · 10 method uri name action middlew… GET / home HomeController web GET /catalog/{category} catalog.show CatalogController@show web POST /cart cart.add CartController@store web POST /checkout checkout CheckoutController web, au… GET /api/orders orders.index Api\OrderController@index api, au… POST /api/orders orders.store Api\OrderController@store api, au… GET /api/orders/{order} orders.show Api\OrderController@show api, au… POST /webhooks/stripe cashier.webhook Laravel\Cashier\Http\Controllers\Webhoo… NULL GET /horizon/{view?} horizon.index Laravel\Horizon\Http\Controllers\HomeCo… web, La… GET /up NULL Closure NULL 10 rows · row 1 · col 1/5 method LARAPORT Production shop-app-1 ↑↓ move enter details / filter v hide package routes ? help
Columns
Section titled “Columns”| Column | Shows |
|---|---|
| method | GET, POST… A GET route is shown without the HEAD that comes with it |
| uri | The path, with its parameters |
| name | The route name, or NULL |
| action | The controller and method, without the App\Http\Controllers\ prefix, or Closure |
| middleware | The route’s middleware |
| domain | Shown only when a route has one |
| Key | Action |
|---|---|
/ |
Filter as you type. esc clears the filter |
enter |
One route in full |
v |
Hide or show the routes that packages register (--except-vendor) |
r |
Read the routes again |
The filter matches every word anywhere in the route, so POST orders, auth:sanctum or OrderController each narrow the list.
When the app does not boot
Section titled “When the app does not boot”Warnings printed before the JSON, such as PHP deprecations, are skipped. If the app cannot boot, the screen shows its error instead of the table.