joetannenbaum/chewie
Chewie generates a fake REST API from your Laravel Eloquent models, giving front-end and mobile developers realistic endpoints to prototype against. Relationships, pagination, and filtering work out of the box, with no custom controllers or seed data required.
Chewie is a lightweight Laravel package that adds follow/unfollow relationships to any Eloquent model. Apply the CanFollow trait to the model that follows and CanBeFollowed to the model being followed, and Chewie handles the polymorphic pivot table behind the scenes—so users can follow users, posts, tags, or anything else in your application.
follow(), unfollow(), and toggle() methodsisFollowing() and related helpersHow can I help you explore Laravel packages today?