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