how to get just the first row from a table in laravel
snippet in php

how to get just the first row from a table in laravel

user6054

$user = User::whereEmail($email)->first();