get user in blade laravel code example
Example 1: current user laravel
$user = auth()->user(); print($user->id);print($user->name);print($user->email);
Example 2: is users logged in laravel blade
@auth
// user logged in
@else
// not logged in
@endauth