laravel 8 register new route code example
Example: laravel 8 route
Route::get(
'/user/profile',
[UserProfileController::class, 'show']
)->name('profile');
Route::get(
'/user/profile',
[UserProfileController::class, 'show']
)->name('profile');