check when user authenticates laravel 5.2 code example Example: how to check if there is an authenticated user laravel if (Auth::check()) { // The user is logged in... }