Laravel set between digits in validation

You should use digits_between when you are trying to get exact same "length". for example to validate if user input is a digit between 0 to 99, you just add "digits_between:1,2" in your validation.

'item' => 'required|digits_between:1,2',

If your number is decimal, and want to validate if entered number is a range number between 1, 1.1, 1.2, 1.3, ... to 2, you need use "numeric|between:1,2" in your validation.

'item' => 'required|numeric|between:1,2',

You seem to be using digits_between but you need to be using just between (docs).

'item' => 'required|integer|between:1,10',