laravel auth() function code example Example: laravel 7 auth composer require laravel/ui php artisan ui vue --auth