Answers for "get the name of the auth user laravel"

PHP
5

get id user login laravel

use Auth;
$user_id = Auth::user()->id;
Posted by: Guest on January-06-2021
5

get logged user id laravel

$id = Auth::user()->id;print_r($id);
Posted by: Guest on March-25-2020

Code answers related to "get the name of the auth user laravel"

Browse Popular Code Answers by Language