authenticate a user in laravel code example
Example 1: get user auth in laravel
Auth::user();
Example 2: make authentication in laravel
composer require laravel/ui:^2.4
php artisan ui vue --auth
Auth::user();
composer require laravel/ui:^2.4
php artisan ui vue --auth