Answers for "how to use route in laravel 8 controller"

3

laravel route controller

use App\Http\Controllers\UserController;

Route::get('user/{id}', [UserController::class, 'show']);
Posted by: Guest on November-29-2020
0

how to create route in laravel

Route::match(['get', 'post'], '/', function () {
    //
});
Posted by: Guest on May-13-2021

Code answers related to "how to use route in laravel 8 controller"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language