Answers for "route declaration in laravel 8"

PHP
4

laravel 8 route

Route::get(
    '/user/profile',
    [UserProfileController::class, 'show']
)->name('profile');
Posted by: Guest on March-02-2021
3

laravel route

Route::get('user/profile', [UserProfileController::class, 'show'])->name('profile');
Posted by: Guest on October-07-2020

Browse Popular Code Answers by Language