Compatibility for router using Laravel RouteCollection