Laravel Auth::user() alternatives

How to get authenticated user instance in Laravel

Getting Authenticated user in Laravel

Auth::user(); 
or
\Auth::user(); // without need to use Auth namespace
auth()->user();
$request()->user();

Checking logged in user:

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

Getting Authenticated user id:

Auth::user()->getId();orAuth::id();

Simulating a login:

auth()->loginUsingId($id);
auth()->login($user, false);
\Auth::login($user, false);
\Auth::login($user, true);

Inside Laravel Core:

Posting daily about Python, Nuclear Physicist PhD

Posting daily about Python, Nuclear Physicist PhD