How to get Logged in user info in Laravel ?

Auth::User() function is used to get Logged in user info in Laravel.

Usage:-

 
if(Auth::check()){
  $loggedIn_user=Auth::User();
  dd($loggedIn_user);
}  

Leave a Reply

Your email address will not be published. Required fields are marked *