laravel request integer code example Example: numbric validate laravel $rules = ['Fno' => 'numeric|min:2|max:5', 'Lno' => 'numeric|min:2'];