what is Basic Routing ?

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


Please Help Members By Posting Answers For Below Questions

What is ssrf attack?

431


Name databases supported by laravel.

518


what is meant by Laravel ?

785


How to get data between two dates with query in laravel?

395


How to enable the query logging?

410






How to enable query log in laravel 5?

408


How to serve sites on valet?

415


Define http middleware?

417


What is lts version of laravel?

418


How to turn off crsf protection for specific route in laravel?

385


What is the use of the bootstrap directory?

450


Do you know validations in laravel?

388


What do you know about traits in laravel?

397


How to pass csrf token with ajax request?

435


What developed the laravel?

399