Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

laravel get auth user id

// Get the currently authenticated user's ID...
$id = Auth::id();
Source by laravel.com #
 
PREVIOUS NEXT
Tagged: #laravel #auth #user #id
ADD COMMENT
Topic
Name
2+4 =