lecturize/laravel-followers
Add follow/unfollow relationships to any Eloquent model in Laravel. Traits let models follow and be followed polymorphically, with helpers like follow(), unfollow(), toggleFollow(), isFollowing(), plus followers() and following() relations and query scopes.
lecturize/laravel-followers is a lightweight Laravel package that adds follow/unfollow relationships to any Eloquent model. A reusable trait lets users follow other users or any polymorphic model without changing your existing schema.
It offers a clean API for checking follow status, retrieving followers and following lists, and counting relationships.
How can I help you explore Laravel packages today?