laravel validate integer between
snippet in php

laravel validate integer between

user9579

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

validate field for existing client laravel

user2566

unique:users,username,id,1 // table, field, idcolumn, value to ignore