laravel validate integer or 0 code example Example: laravel validate integer between 'item' => 'required|integer|between:1,10',