custom validation rule in laravel for an array code example
Example: validate field for existing client laravel
unique:users,username,id,1 // table, field, idcolumn, value to ignore
unique:users,username,id,1 // table, field, idcolumn, value to ignore