Laravel 5.2 auth User passing -


i new laravel, please bear me how pass current logged on user controller view?

you don't need pass view.

using auth facade, or auth() helper have access current user:

// use auth facade {{ auth::user()->email }}  // or use auth helper: {{ auth()->user()->email }} 

Comments