I am new to Laravel. Please excuse the newbie question but how do I find if a record exists?
$user = User::where(\'em
Shortest working options:
// if you need to do something with the user if ($user = User::whereEmail(Input::get('email'))->first()) { // ... } // otherwise $userExists = User::whereEmail(Input::get('email'))->exists();