How do I.. get user info?

    • Danko
      Participant
        # 2 years, 4 months 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
          # 2 years, 4 months 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

        • Danko
          Participant
            # 2 years, 4 months ago

            Thank you very much 🙂

            I did it.

            Daniele

        Viewing 2 reply threads

        You must be logged in to reply to this topic.