numbric validate laravel
snippet in php

laravel validate integer between

user1608

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

numbric validate laravel

user6081

$rules = ['Fno' => 'numeric|min:2|max:5', 'Lno' => 'numeric|min:2'];

laravel validation

user4228

/**
 * Store a new blog post.
 *
 * @param  Request  $request
 * @return Response
 */
public function store(Request $request)
{
    $validatedData = $request->validate([
        'title' => 'required|unique:posts|max:255',
        'body' => 'required',
    ]);

    // The blog post is valid...
}