Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

secondman's avatar

Modifying the User Model

Ok,

Keep in mind I'm a Laravel newbie.

In the project I'm building we have a multi-staged signup process where we collect email and password, then confirm the email, then move to the subscription form where the client puts in profile details, business name, first and last, and so on, then pays with stripe and viola.

I need to find a way (if possible) to join the user table and profiles table under the User model, so that all these fields are available under User and not have to keep requesting both models every time we need all the data.

In other words when the given user logs in, the User model will contain all fields from both users and profile.

Hopefully that makes sense.

Any ideas would be greatly appreciated.

0 likes
2 replies
secondman's avatar

LOL .... wow, well that was simple. Of course it's already baked in ... what was I thinking.

Thanks @willvincent

1 like

Please or to participate in this conversation.