Answer Posted / sunil kumar
All the application routes are registered within the app/routes.php file.
This file tells Laravel for the URIs it should respond to and the associated controller will give it a particular call.
Example :
<?php
Route::get('/', function ()
{
return view('welcome');
}
);
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Have you used lumen before?
What is helper in laravel?
What is laravel 5 homestead?
What are controllers in laravel?
How to configure route cache and clear route cache in laravel?
Do you know validations in laravel?
Tell me what is service providers?
By default valet serve your app on which tld? How to configure it to use another domain?
What is routing and how, and what are the different ways to write it?
How to use joins in laravel?
What is laravel api?
What is the differce between contracts and facades?
How do you define middleware?
Explain the controllers in laravel?
Explain how to register a middleware in laravel?