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