laravel route list 1

laravel route list

php artisan route:list

Here is what the above code is Doing:
1. We’re using the route() helper to create a route.
2. We’re using the get() method to specify that this route should only be accessible via the GET HTTP verb.
3. We’re using the / route, which is the root of our application.
4. We’re using the controller() helper to specify that this route should be handled by the PagesController.
5. We’re using the action() helper to specify that this route should be handled by the home() method on the PagesController.
6. We’re using the name() helper to specify that this route should be named home.

Similar Posts