'required|string|min:3|max:255', ]; } /** * Get custom attributes for validator errors. * * @return array */ public function attributes(): array { return [ 'name' => trans('nom de la marque'), ]; } }