laravel request validation look for certain string code example
Example 1: laravel validate integer between
'item' => 'required|integer|between:1,10',
Example 2: php artisan make:request
php artisan make:request User\CreateUserRequest
'item' => 'required|integer|between:1,10',
php artisan make:request User\CreateUserRequest