array
Validate that the value is a JavaScript array (Array.isArray).
arrayOf
Validate that every item in the array passes the supplied validator. A non-array value fails.
contains
Validate that the array contains every one of the given values (membership via Array.includes). A non-array value fails.
distinct
Validate that the array has no duplicate values. A non-array value fails.
doesntContain
Validate that the array contains none of the given values (membership via Array.includes). A non-array value fails.
inArray
Validate that the value is a member of a sibling field's array. Fails when the sibling is missing or is not an array.
maxSize
Validate that the array has at most max items. A non-array value fails.
minSize
Validate that the array has at least min items. A non-array value fails.
requiredArrayKeys
Validate that the value is a non-null object containing every one of the given keys. Maps Laravel's requiredarraykeys rule to a plain object.
sizeBetween
Validate that the array item count is within [min, max] inclusive. A non-array value fails.