I am new to Laravel. Please excuse the newbie question but how do I find if a record exists?
$user = User::where(\'em
if($user->isEmpty()){ // has no records }
Eloquent uses collections. See the following link: https://laravel.com/docs/5.4/eloquent-collections