'required|string|max:255', 'firstname' => 'required|string|max:255', 'phone' => 'sometimes|max:255', 'address' => 'sometimes|max:255', 'postal_code' => 'required', 'town' => 'required|string|max:255', 'email' => 'required|email:rfc,dns,spoof|max:255', 'password' => 'required|confirmed|min:8|max:255', 'ok_cgv' => 'accepted', 'optin' => 'sometimes', 'birth_date' => ['required',new Adult()], ]; } }