current loggedin user laravel
snippet in php

current loggedin user laravel

user1767

$user = auth()->user();  print($user->id);print($user->name);print($user->email);