Router.php Interfaces, Classes and Traits Router The Router class responsability is to analyze the path of the request, determine the controller that has to process it and enroute the request to the corresponding controller.