integer required in laravel validation code example
Example 1: laravel unique validation
unique:table,column,except,idColumn
############## Example : ################
############### For Updating
//rules
'email' => 'unique:users,email_address,' . $userId,
############### For Creating
//rules
'email' => 'unique:users,email_address',
Example 2: validate field for existing client laravel
unique:users,username,id,1 // table, field, idcolumn, value to ignore