validate file type laravel code example
Example 1: laravel validate integer between
'item' => 'required|integer|between:1,10',
Example 2: email validation in laravel
'user.email' => 'required|email|unique:users,email,'.$user->id,
//@sujay
'item' => 'required|integer|between:1,10',
'user.email' => 'required|email|unique:users,email,'.$user->id,
//@sujay