PHP - Basic Routing Syntax

PHOTO EMBED

Fri Oct 15 2021 19:05:39 GMT+0000 (UTC)

Saved by @TheInspired #php

Route::get('/', function () {
    return view('welcome');
});

Route::get('users', 'UsersController@index');

Route::view('home', 'home');
Route::view('profile', 'profile');
content_copyCOPY