laravel auth namespace
snippet in php

laravel auth namespace

user142

use Illuminate\Support\Facades\Auth;

laravel force login by id

user432

Auth::login($user);