Support the ongoing development of →
Eloquent IOC Architecture
Last updated 1 year ago.

I have no idea why you made 3 user classes, that sounds crazy to me. My application has many different types of users (from administrative only to general users) and it is all in one user model. Besides that, if you wish to link one model to many models you can just create a manyToMany relationship in Laravel. I suggest you check out Laracast's website. Jeffrey has some great lessons on stuff like this.

Last updated 1 year ago.

Sign in to participate in this thread!

Full Stack Europe

Your banner here too?

rasparac rasparac Joined 18 Feb 2014


We'd like to thank these amazing companies for supporting us

Your logo here?

The Laravel portal for problem solving, knowledge sharing and community building.

© 2023 - All rights reserved.