laravel validtor integer code example
Example 1: laravel validate integer between
'item' => 'required|integer|between:1,10',
Example 2: validate field for existing client laravel
unique:users,username,id,1 // table, field, idcolumn, value to ignore