api number field validation laravel code example
Example 1: numbric validate laravel
$rules = ['Fno' => 'numeric|min:2|max:5', 'Lno' => 'numeric|min:2'];
Example 2: validate field for existing client laravel
unique:users,username,id,1 // table, field, idcolumn, value to ignore