hypefactors/laravel-follow
A Laravel package that adds follow and unfollow behavior to Eloquent models. Let users follow other users or any model, retrieve followers and following lists, check relationships, and count followers through a simple, polymorphic API.
follows table shape, which in turn constrains follower-count reporting, cohort/engagement analysis, and segmentation queries. Worth a deliberate decision now rather than a migration later.Adopt when most of these are true:
Look elsewhere or plan to build/own when:
For executives: This is a small, permissively licensed component that removes an estimated few developer-days of undifferentiated schema and relationship work from any follow-based feature on our Laravel stack. The license carries no commercial friction. The tradeoff is momentum: the project is small and has not shipped since mid-2023, so we would effectively own the code if it falls behind. Because the surface area is tiny, the downside is bounded and reversible. Recommendation: approve as a timeboxed evaluation for the next follow-dependent feature, not as a standing platform commitment.
For engineering: Trait-based API over Eloquent, polymorphic so several model types can be followed, and small enough to read end to end in an afternoon. Before adopting: pin the version, confirm framework and PHP compatibility against our target, review the migration for indexes on the polymorphic columns, and wrap it in integration tests so a future fork or swap is a contained change. Assign an internal owner and record a fork-and-maintain fallback in the decision log.
How can I help you explore Laravel packages today?