laravel 8 controllers code example
Example 1: Route::resource
Route::resource('photos', PhotoController::class);
Example 2: laravel make:action
composer require lorisleiva/laravel-actions
Route::resource('photos', PhotoController::class);
composer require lorisleiva/laravel-actions