Tag: controller

3 Posts

Controller is a class where we define functions in laravel. Controller is building block in laravel application. It takes data from the request and then returns response after processing of the data. Controller act as one end point of request response architecture. Controller takes request sent from client and then it will send response to the client. Requests sent through routes are associated with the functions. When we enter particular route then execution of associated function in the controller takes place so that we can get response.