laravel 5.8 get current user id in controller code example
Example: current user laravel
$user = auth()->user(); print($user->id);print($user->name);print($user->email);
$user = auth()->user(); print($user->id);print($user->name);print($user->email);