laravel get db::select first record code example Example: how to get just the first row from a table in laravel $user = User::whereEmail($email)->first();