Skip to main content

Controllers

Controllers are the classes that handle HTTP Requests. First, create a *Controllers* folder to store you controllers. To create a controller, create a class with the following naming convention : the name of the resource, starting with a uppercase letter, then *Controller*.