use Auth;
$user_id = Auth::user()->id;
$id = Auth::user()->id;print_r($id);
$user = Auth::user();
echo $user->id;
echo $user->name;
echo $user->email;
$user = auth()->user(); print($user->id);print($user->name);print($user->email);
// Get the currently authenticated user's ID...
$id = Auth::id();
$id = Auth::id();
$id = Auth::id();