If you want to validate elements of an array that you submited use dot notation in rules with '*'
1// say you have this array 2// array in request 'user_info' 3$request->validated()->user_info = [ 4 [ 5 'name' => 'Qasim', 6 'age' => 26, 7 ], 8 [ 9 'name' => 'Ahmed',10 'age' => 23,11 ],12];13 14// Rule15$rules = [16 'user_info.*.name' => ['required', 'alpha'],17 'user_info.*.age' => ['required', 'numeric'],18];
Tip given by HydroMoon