I have a form with a series of numbers in an array:
You can set your rules for array and foreach elements.
public function rulez(Request $req) {
$v = Validator::make($req->all(), [
'items' => 'required|array|min:1',
'items.*' => 'required|integer|between:0,10'
]);
if ($v->fails())
return $v->errors()->all();
}
First rule say that items must be an array with 1 element at least. Second rule say that each elements of items must be an integer between 0 and 10.
If the rules seem not to work, try to dump your $req->all().
dump($req->all());