get current authenticated user laravel

37

$id = Auth::user()->id;print_r($id);
// Get the currently authenticated user's ID...
$id = Auth::id();

Comments

Submit
0 Comments