Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

where is the route.php file in laravel v5.3.10?

I download latest laravel project v5.3.10 but i cannot find route file and some others. enter image description hereenter image description here

like image 739
Masum billah Avatar asked Sep 23 '16 08:09

Masum billah


3 Answers

routes.php is no longer exists in Laravel 5.3 but there is a new routes directory on your root project folder, it contains two files web.php and api.php .

Those two files provide more explicit guidance in how to split the routes for your web interface and your API. The routes in the api route file are automatically assigned the api prefix by the RouteServiceProvider.

for further informations check Laravel 5.3 release notes.

like image 65
Abdou Tahiri Avatar answered Nov 11 '22 04:11

Abdou Tahiri


You have the routes directory in the root of your application.

like image 2
Filip Koblański Avatar answered Nov 11 '22 02:11

Filip Koblański


The route file in a directory. Please check this,

route in laravel5.3

like image 2
Rama Durai Avatar answered Nov 11 '22 03:11

Rama Durai