Answers for "validate each value from array laravel"

PHP
0

validate each value from array laravel

$validator = Validator::make($request->all(), [
    "names"    => "required|array|min:3",
    "names.*"  => "required|string|distinct|min:3",
]);
Posted by: Guest on November-12-2020

Code answers related to "validate each value from array laravel"

Browse Popular Code Answers by Language