what is Basic Routing ?



what is Basic Routing ?..

Answer / 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

More Laravel PHP Framework Interview Questions

What is http middleware?

0 Answers  


How we can get user's detail when he is logged in using auth?

0 Answers  


What is php artisan. List out some artisan commands?

0 Answers  


How do I require authentication for a set of routes associated with a subdomain?

0 Answers  


How to return a view from route in laravel?

0 Answers  






explain how to add a middleware in route group?

0 Answers  


What are model factories?

0 Answers  


Do you know what is php artisan.

0 Answers  


What is composer tool?

0 Answers  


How to install laravel?

0 Answers  


Differentiate between delete() and softdeletes().

0 Answers  


What is the laravel framework?

0 Answers  


Categories