Answers for "laravel how to get current logged in user"

PHP
3

current loggedin user laravel

$user = auth()->user();  print($user->id);print($user->name);print($user->email);
Posted by: Guest on May-26-2020

Code answers related to "laravel how to get current logged in user"

Browse Popular Code Answers by Language