check for an existing user laravel eloquent
snippet in php

laravel check record exists

user8385

$user = User::where('email', '=', Input::get('email'))->first();
if ($user === null) {
   // user doesn't exist
}

if notexists in laravel query

user4698

if (User::where('email', '=', Input::get('email'))->exists()) {
   // user found
}

check for an existing user laravel eloquent

user2114

$users = User::where('email', '=', $request->input('email'))->first();
if ($users === null) {
  // User does not exist
} else {
  // User exits
}