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