No, the accepted answer is incorrect.
Auth::check() cancels Auth::user() . That was as long as I remember.
In other words, Auth::check() calls Auth::user() , gets the result from it, and then checks if the user exists. The main difference is that it checks if the user is null for you so that you get a boolean value.
This is the check function:
public function check() { return ! is_null($this->user()); }
As you can see, it calls the user() method, checks to see if it is null, and then returns a boolean.
source share