x-laravel/followable
A Laravel package that adds follow and unfollow behavior to your models. Attach polymorphic follower relationships, check whether a model is followed, and query followers or followings with a simple, reusable trait.
RequiresFollowApproval, request acceptance/rejection, and hasFollowRequestFrom() make it practical to support private profiles or gated communities without building separate request state machines.withFollowsBack(), and withFollowedBy() enable list badges, “follows you” states, and connection indicators with fewer custom queries.Consider adoption when:
Look elsewhere or plan to extend when:
For executives: This package gives us a tested Laravel foundation for follow relationships, including private-account approvals and mutual-follow logic, so we can ship social and subscription-style features faster and with less custom risk. It is a focused domain primitive, not a complete social network, so it accelerates the plumbing while we focus product effort on the experience and differentiation.
For engineering: Adopt it as the follow-graph layer: polymorphic followers, followable contracts, approval workflows, mutual-follow queries, list-state scopes, post-commit events, and automatic pruning. It is configurable and integrates with existing models, but v1.0.0 should be pinned and covered by integration tests. It intentionally does not solve feeds, blocking, notifications, or moderation, so those remain separate product and architecture decisions.
How can I help you explore Laravel packages today?