loafer/laravel-likeable
A Laravel package for adding like and dislike reactions to Eloquent models. Use traits to make models likeable, attach reactions polymorphically, toggle likes, and query counts or liked items with a clean API.
Consider it only when:
Look elsewhere when:
To executives: “Likes/dislikes” is a small, well-understood engagement feature that can improve retention and give us content-quality signals. However, the specific package surfaced here is end-of-life — last release 2017, archived, no downstream users, and the author has moved development to a successor package. Recommendation: approve a short spike on the maintained successor (Laravel Love) or an in-house implementation, and treat this repository purely as a design reference. Cost is low either way; the risk is adopting a dependency nobody will patch.
To engineering: One Composer dependency, one migration, one trait on the model — roughly a day to integrate and test the happy path. The data model is a polymorphic likes table with a type discriminator and per-user uniqueness, which is the part worth copying. Do not add this archived package to composer.json; validate the successor against our PHP/Laravel versions, confirm it is actively maintained, and confirm we are comfortable owning a fork if it stops being maintained. Flag that the feature touches user-generated content, so abuse and rate-limiting are in scope from day one.
How can I help you explore Laravel packages today?