Проверка формы с API LARVEL

use Illuminate\Support\Facades\Validator;

$validator = Validator::make($request->all(), [
    'photos.profile' => 'required|image',
]);
Homeless Hamerkop