unique validation in laravel with two columns for update and create 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');