laravel get the first record code example
Example: laravel get first record
'First email'
User::whereEmail($email)->first();
'First Record'
User::first();
'First email'
User::whereEmail($email)->first();
'First Record'
User::first();