resource controller path in laravel 8 code example
Example 1: laravel route controller
use App\Http\Controllers\UserController;
Route::get('user/{id}', [UserController::class, 'show']);
Example 2: Laravel 8 Resource
php artisan make:controller BlogController --resource
Example 3: resource controller laravel
Route::resource('photos', PhotoController::class);