how to create at set in controller in laravel code example
Example 1: laravel create controller command
php artisan make:controller UserController
Example 2: resource controller laravel
Route::resource('photos', PhotoController::class);
php artisan make:controller UserController
Route::resource('photos', PhotoController::class);