A Laravel package that adds weighted, typed social reactions—likes, dislikes, and custom emotions—to Eloquent content.
Overview
Laravel Love adds reaction features to Laravel applications so users can express how they feel about content stored in Eloquent models. The design draws on patterns seen in products such as GitHub, Facebook, YouTube, Slack, Reddit, and Medium reactions, with the goal of covering varied enterprise use cases.
Models can be made reactable quickly via package conventions. The system supports a weighted reaction model and a reaction type model, including like, dislike, and custom emotion types defined by the application.
Installation is through Composer followed by database migrations. Documentation is provided in a dedicated guide, with upgrade notes for version changes.
The package is MIT-licensed library code that embeds into Laravel apps; it is not a hosted social network on its own.
Key features
- Eloquent reactable models
- Weighted reaction totals
- Custom reaction type definitions
- Like and dislike support
- Composer-based installation
- Database migration setup
Use cases
- Content upvotes and reactions
- Custom emotion buttons on posts
- Enterprise-style feedback on records
- Social-style engagement in Laravel