Support the ongoing development of Laravel.io →
Authentication Eloquent
Last updated 5 months ago.
0

So basically at the moment you have a one way friendship, or a follow system similar to Twitter. If you want to make it a two way relationship you might consider an approval process similar to Facebook. Then simply use the same query but in reverse.

Last updated 5 months ago.
0

OK that sound like a good solution, I was always thinking in Laravel way (with elequent) and not "out of the box" :)

Last updated 5 months ago.
0

Sign in to participate in this thread!

LaraJobs

Your banner here too?

RokSiEu roksieu Joined 31 Jan 2014

Moderators

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.

© 2022 Laravel.io - All rights reserved.