validation rule if row exist laravel

Solutions on MaxInterview for validation rule if row exist laravel by the best coders in the world

showing results for - "validation rule if row exist laravel"
Godric
12 Mar 2017
1//update request 
2return [
3	'username' => 'unique:users,username,' . $this->route('internalUser')->id . ',id',
4];
5
6//create request
7return [
8	'username' => 'unique:users'
9];