check unique with two columns in laravel validation code example
Example: laravel unique validation on multiple columns
'mobile_no'
=> 'unique:users,mobile_no,NULL,id,country_id,'.request('country_id');
'mobile_no'
=> 'unique:users,mobile_no,NULL,id,country_id,'.request('country_id');