Before laravel 5 routes.php were used but in laravel5.x changed to web.php The role of web.php is to define the endpoints of the web interface called url's. In laravel5.x having api.php defines the middle ware layer for api's where as in laravel4 middleware also combined in routes.php
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community