merodiro/friendships
A Laravel package for adding friendships to Eloquent models. Send, accept, and deny friend requests, check relationship status, and organize friends into groups with a simple trait you drop into your User model.
friends_ids() / friendsIds()) that let the team ship friend/follow functionality without designing and maintaining friendship tables, pivot models, and query scopes in-house. This is a classic "buy the commodity, build the differentiator" call.friends_ids() → friendsIds()) in a patch release. That is a backwards-incompatible change shipped without a major version bump, so the PM decision is not just "adopt or not" but "adopt with version pinning and a rename sweep" plus a recurring maintenance allowance for future renames.Consider adopting when:
Look elsewhere when:
To executives: This is a low-cost accelerator for social/community features — it saves us from building friendship plumbing from scratch and lets the team focus on the experience customers actually see. The trade-off is maintenance discipline: the latest patch release renames a public helper, which means a small one-time code update on our side and a policy of pinning the version and testing upgrades. Net: faster feature delivery with a manageable, bounded dependency risk we will track.
To engineering: Treat v1.2.4 as a breaking change despite the patch number. Pin the dependency (e.g. exact version or a tight constraint), run a repo-wide rename from friends_ids() to friendsIds(), and add a regression test around friendship retrieval. Wrap third-party calls behind an internal service/adapter where practical so future naming churn is contained to one file. Going forward, review this package's changelog before every dependency bump and budget a small upgrade allowance each cycle.
How can I help you explore Laravel packages today?