params in php controller laravel code example
Example 1: get value mentthod get laravel
Input::get('lastName') ;
//lastName is variable in view
Example 2: laravel route
Route::get('user/profile', [UserProfileController::class, 'show'])->name('profile');