You seem to be using digits_between but you need to be using just between. 'item' => 'required|integer|between:1,10', documentation: https://laravel.com/docs/9.x/validation#rule-between