O'Reilly logo

Laravel 5 Essentials by Martin Bean

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Inspecting and interacting with your application

With the route:list command, you can see at a glance which URLs your application will respond to, what their names are, and if any middleware has been registered to handle requests. This is probably the quickest way to get acquainted with a Laravel application that someone else has built.

To display a table with all the routes, all you have to do is enter the following command:

$ php artisan route:list

For example, the following is what the application we built in Chapter 3, Your First Application, looks like:

Inspecting and interacting with your application

Note

In some applications, you might see /{v1}/{v2}/{v3}/{v4}/{v5} appended to particular routes. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required