laravel digit code example
Example 1: numbric validate laravel
$rules = ['Fno' => 'numeric|min:2|max:5', 'Lno' => 'numeric|min:2'];
Example 2: laravel validate integer between
'item' => 'required|integer|between:1,10',
$rules = ['Fno' => 'numeric|min:2|max:5', 'Lno' => 'numeric|min:2'];
'item' => 'required|integer|between:1,10',