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 an observer in laravel?

0 Answers  


Explain dependency injection and their types.

0 Answers  


What is laravel api?

0 Answers  


Can you please explain the difference between laravel and codeigniter?

0 Answers  


How can we get the user's ip address in laravel?

0 Answers  


What is use of pluck in laravel?

0 Answers  


What is lumen?

0 Answers  


List out some artisan commands?

0 Answers  


What is the difference between facades vs helper functions?

0 Answers  


How to extend login expire time in auth?

0 Answers  


What is the use of fillable in laravel?

0 Answers  


What is the use of slug in laravel?

0 Answers  


Categories