laravel auth user type code example
Example 1: laravel auth user_id
$userId = Auth::id();
Example 2: laravel auth
composer require laravel/ui
php artisan ui vue --auth
npm install && npm run dev
$userId = Auth::id();
composer require laravel/ui
php artisan ui vue --auth
npm install && npm run dev