laravel validation integer vs copied integer code example Example: laravel validate integer between 'item' => 'required|integer|between:1,10',