get user auth in laravel
snippet in php

get user auth in laravel

user9211

Auth::user();

laravel auth namespace

user5195

use Illuminate\Support\Facades\Auth;

laravel force login by id

user9003

Auth::login($user);