Array validasi Laravel
$data = $request->validate([
"name" => "required|array|min:3",
"name.*" => "required|string",
]);
MrDracoula
$data = $request->validate([
"name" => "required|array|min:3",
"name.*" => "required|string",
]);
'username' => ['required', 'min:3', 'max:255', Rule::unique('users', 'username')],
$validation->messages()->all()