laravel current_user check 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);