arashb's avatar

user-friend relationship

i want to implement a user/friend relationship. from what i could catch online, it's an example of self-referencing many-to-many relationship. First, I would like to understand how to model this relationship logically (e.g depict it using UML class diagram). then i would like to know how to implement it via eloquent.

0 likes
0 replies

Please or to participate in this conversation.