Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

how to check exist in array in rule validation laravel

['someProperty' => ['required', Rule::in(['needed', 'stuff'])]];
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #check #exist #array #rule #validation #laravel
ADD COMMENT
Topic
Name
2+8 =