or on a validation rule laravel\ 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