Laravel allows you to easily define a single route to handle every action in a controller class. First, define the route using the Route::controller method. The controller method accepts two arguments. The first is the base URI the controller handles, while the second is the class name of the controller:
Next, just add methods to your controller. The method names should begin with the HTTP verb they respond to followed by the title case version of the URI:
as you can see in the example above, index methods will respond to the root URI handled by the controller, which, in this case, is users.
Assigning Route Names
If you would like to name some of the routes on the controller, you may pass an array of names as the third argument to the controller method: