Le enregistrement de chèque de Laravel existe
$user = User::where('email', '=', Input::get('email'))->first();
if ($user === null) {
// user doesn't exist
}
Hjmcoder
$user = User::where('email', '=', Input::get('email'))->first();
if ($user === null) {
// user doesn't exist
}
if (User::where('email', '=', Input::get('email'))->exists()) {
// user found
}