Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

laravel validation array

$data = $request->validate([
    "name"    => "required|array|min:3",
    "name.*"  => "required|string",
]);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #laravel #validation #array
ADD COMMENT
Topic
Name
2+7 =