Answers for "check if email exist laravel"

PHP
1

check for an existing user laravel eloquent

$users = User::where('email', '=', $request->input('email'))->first();
if ($users === null) {
  // User does not exist
} else {
  // User exits
}
Posted by: Guest on August-18-2020
0

laravel check if email is real

<?php
$email = "[email protected]";

if (filter_var($email, FILTER_VALIDATE_EMAIL)) {
  echo("$email is a valid email address");
} else {
  echo("$email is not a valid email address");
}
?>
Posted by: Guest on April-15-2020

Code answers related to "check if email exist laravel"

Browse Popular Code Answers by Language