creating action laravel code example
Example 1: resource controller laravel
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