I'm trying to echo first_name on the page but I couldn't work it out how.
$providerEmail = Auth::user()->email;
$providerName = Auth::user()->first_name;
return View::make('account')->with( 'providerEmail', $providerEmail, 'providerName', $providerName);
the ()->email bit works, it echos the user email but when echoing first_name it gives me $providerName error (Undefined variable: providerName).