laravel 인증 user_id
$userId = Auth::id();
laravel 확인 인증
Laravel's laravel/ui package provides a quick way to scaffold all of the routes and views you need for authentication using a few simple commands:
composer require laravel/ui
php artisan ui vue --auth
laravel 에서 사용자 인증 가져 오기
Auth::user();
라라벨 인증
//namespace
use Illuminate\Support\Facades\Auth;
라라벨 인증
composer require laravel/ui
php artisan ui vue --auth
npm install && npm run dev
id 로 laravel force 로그인
Auth::login($user);