logout in laravel 7 code example
Example 1: laravel authentication
composer require laravel/ui
php artisan ui vue --auth
Example 2: Auth log out laravel
Auth::logout();
Example 3: laravel auth
//namespace
use Illuminate\Support\Facades\Auth;