Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Laravel Likeable Laravel Package

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.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Reaction features on existing content models. The package answers a recurring roadmap question — “can users like/dislike posts, comments, reviews, or answers?” — with a trait-plus-migration approach rather than a bespoke subsystem. It is the cheapest possible validation of an engagement loop before committing design and backend capacity.
  • Build vs. buy for a deceptively small feature. Likes look trivial but carry real schema decisions: polymorphic target table, per-user uniqueness, counter caching, and toggle semantics. This package encodes those decisions for you, which is useful as a reference spec even if you don't ship it.
  • Ranking and social-proof inputs. A reaction store feeds “most liked,” “top rated,” and quality-sorting surfaces, plus moderation signals (heavily downvoted content). Deciding where reaction counts appear is a product call this package makes cheap to prototype.
  • Scope discipline. Like/dislike only — no five-emoji reaction pickers, no per-reaction-type analytics. If your roadmap calls for nuanced sentiment, this package defines the floor, not the ceiling.
  • Caveat that changes the decision: this repository is archived, last released in 2017, and its own description redirects to Laravel Love. The decisions above are real, but they should be evaluated against the successor, not this artifact.

When to Consider This Package

Consider it only when:

  • You are maintaining an existing application already depending on it and need to understand its schema, trait behavior, or upgrade path.
  • You want a historical reference implementation of a polymorphic like/dislike model before writing your own — read the migrations, not the dependency.

Look elsewhere when:

  • You are starting anything new. Archived + zero dependents + no releases since 2017 means no security patches, no compatibility work for current PHP/Laravel versions, and no maintainer to escalate to.
  • You need supported framework versions. The 2017 release cadence implies Laravel 5.x-era compatibility; verify only if you are evaluating legacy code.
  • You need more than binary reactions, events/notifications integration, or active maintenance — go to Laravel Love (the stated successor) or implement a small polymorphic pivot table in-house if the feature is genuinely one table and one trait.
  • Any procurement or security review is in play. An archived dependency with no dependents is difficult to justify in a risk register for a small engagement feature.

How to Pitch It (Stakeholders)

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.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
ippanelcom/laravel-sdk
adachsoft/changelog-linter
adachsoft/collection
payerurl/telegrambot-crypto-payment-instant-payout
dskripchenko/laravel-hybrid-search
riorizkyrainey/lara-ced
mehedimi/static-vel
zharp/zharp
nonsapiens/bigquery-model-sync
lgu-bayambang-ict-office/lgu-laravel-development-standards
andydefer/laravel-support
se7enxweb/flysystem
lampwick/laravel
jeslage/statamic-emojis
micahdshackelford/rmap-laravel
draftsmaninc/draftsman
square-bit/laravel-volition
himito/laravel-mailman
htinlynn/genius-helper
maco-studios/hephaestus