How do I.. get user info?

  • Pippo Poppo
    Participant
      # 1 month ago

      Hi,

      I need an object user, the one like I got with Auth::user().
      But for a user of which I have already the id .

      How can I do that ?

      Thanks,

      D.

    • laravel-bap
      Keymaster
        # 1 month ago

        Hi,

        import use Modules\Platform\User\Entities\User;

        and U can use function form user. User::find($id);

        Here is documentation for laravel eloquent https://laravel.com/docs/5.8/eloquent

      • Pippo Poppo
        Participant
          # 1 month ago

          Thank you very much 🙂

          I did it.

          Daniele

        You must be logged in to reply to this topic.