Answers for "use other form request in array laravel"

PHP
2

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
0

laravel rule unique where

'required|email|unique:company_users,email_address,NULL,id,company_id,' . $request->company_id
Posted by: Guest on October-09-2020

Code answers related to "use other form request in array laravel"

Browse Popular Code Answers by Language