laravel validation required or 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