
Basic Routing
−Laravel routes: providing a very simple and
expressive method of defining routes:
−For most applications, you will begin by defining
routes in your routes/web.php file.
−Test: http://localhost/MyProject/public/
4
Route::get ('/', function () {
return view('welcome');
} );