Auth facade class method used to log out the currently authenticated user code example
Example 1: laravel 8 make:auth
composer require laravel/ui --dev
php artisan ui vue --auth
Example 2: laravel 8 make:auth
php artisan migrate
npm install && npm run dev