laravel vaidation integer code example
Example 1: laravel validation integer
'count' => 'integer'
Example 2: laravel validate integer between
'item' => 'required|integer|between:1,10',
'count' => 'integer'
'item' => 'required|integer|between:1,10',