DartshineController is the main class for managing all methods in a route.
To use the DartshineController, you should create a class that extends DartshineController.
For each method, you should have an HttpRequest parameter and return a Response.
DartshineCors is a middleware provided by Dartshine. It manages CORS for you. You should place the middleware at the end of the middleware array that you defined, as mentioned here: DartshineMiddleware.
DartshineCsrf is a middleware provided by Dartshine. It manages CSRF for you. You should place the middleware at the end of the middleware array that you defined, as mentioned here: DartshineMiddleware. You should create a secret key.
DartshineForms is used for managing forms with fields, you can create fields in fields variable.
This class provides a validate method with isValid(HttpRequest request) where request is the request you received in your controller.
DartshineRoute is a class for managing routes, you should create a class and extend to it. You can add some URLs and include error handling to each status.
compress is a middleware provided by Dartshine. You should place the middleware first in the middleware array that you defined, as mentioned here: DartshineMiddleware.