Skip to content

Instantly share code, notes, and snippets.

@JamesTheHacker
Created November 27, 2016 14:55
Show Gist options
  • Save JamesTheHacker/a8400ac6fbcde8ca26834f8fbb03d06b to your computer and use it in GitHub Desktop.
Save JamesTheHacker/a8400ac6fbcde8ca26834f8fbb03d06b to your computer and use it in GitHub Desktop.
$userValidation->is_used = 1;
$userValidation->verified_at = $carbon::now();
$userValidation->user->update([
'email_verified' => 1
]);
$userValidation->save();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment