laravel rules email unique code example Example: laravel validation unique email 'email' => 'unique:users,email_address,'.$user->id