laravel auth via using auth id code example
Example 1: how to find the name of login user in laravel
Auth::user()->name
Example 2: make authentication in laravel
composer require laravel/ui:^2.4
php artisan ui vue --auth
Auth::user()->name
composer require laravel/ui:^2.4
php artisan ui vue --auth