get user logged name larave code example
Example 1: current user laravel
$user = auth()->user(); print($user->id);print($user->name);print($user->email);
Example 2: how to find the name of login user in laravel
Auth::user()->name
$user = auth()->user(); print($user->id);print($user->name);print($user->email);
Auth::user()->name