Retrieving The Authenticated User: Determining If The Current User Is Authenticated

Use Illuminate\Support\Facades\Auth;

if (Auth::check()) {
    // The user is logged in...
}

Retrieving The Authenticated User: Determining If The Current User Is Authenticated — Structure map

Clickable & Draggable!

Retrieving The Authenticated User: Determining If The Current User Is Authenticated — Related pages: