I am new to Laravel. Please excuse the newbie question but how do I find if a record exists?
$user = User::where(\'em
I think below way is the simplest way to achieving same :
$user = User::where('email', '=', $request->input('email'))->first(); if ($user) { // user doesn't exist! }