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