php artisan make:controller PhotoController --resource --model=Photo Route::resource('photos', PhotoController::class);