default route list in laravel 8 terminal code example
Example 1: laravel route controller
use App\Http\Controllers\UserController;
Route::get('user/{id}', [UserController::class, 'show']);
Example 2: controller in laravel 8
Rout::get('/test' , [TestController::class , 'index']);