laravel 6 get user id
snippet in php

laravel 6 auth

user8430

composer require laravel/ui "^1.0" --dev

php artisan ui vue --auth

laravel 6 get user id

user4260

$id = \Auth::id();