Answers for "check if value exists in array laravel controller validation"

PHP
1

how to check exist in array in rule validation laravel

['someProperty' => ['required', Rule::in(['needed', 'stuff'])]];
Posted by: Guest on October-10-2021

Code answers related to "check if value exists in array laravel controller validation"

Browse Popular Code Answers by Language