Route::view('Url','PageName');//here Url is the call word which pass from urlRoute::get('Url',[Controller::class,'FunctionName']);//from this route you can access function of specific //controller thourgh specific url routeRoute::get('Url/{id}',[Controller::class,'FunctionName']);//if you want to pass specific id or any thing thorugh route you //can use it{id} or{name} or {anything} means anything you want to access
# Defines a route that lists all the users using GET methodRoute::get('users','UserController@show')->name('users');# Defines a route that creates user using POST methodRoute::post('/users','UserController@create');# Defines a route that update user partially using PATCH methodRoute::patch('/users/:id','UserController@update');# Defines a route that deletes user using DELETE methodRoute::delete('/users/:id','UserController@delete');