laravel query get first elemet 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();