Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

get current authenticated user laravel

use IlluminateSupportFacadesAuth;
 
// Retrieve the currently authenticated user...
$user = Auth::user();
 
// Retrieve the currently authenticated user's ID...
$id = Auth::id();
Source by laravel.com #
 
PREVIOUS NEXT
Tagged: #current #authenticated #user #laravel
ADD COMMENT
Topic
Name
8+2 =