how to get the auth state in laravel code example Example: laravel auth 6 composer require laravel/ui "^1.0" --dev php artisan ui vue --auth