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 Likeable Laravel Package

elephantux/laravel-likeable

Add like and unlike behavior to any Eloquent model with a simple trait. Track who liked what, toggle likes, count totals, and query popular records without writing custom pivot logic.

View on GitHub
Deep Wiki
Context7

elephantux/laravel-likeable is a lightweight Laravel package that adds polymorphic likeable behavior to your Eloquent models. Let users like or unlike any model—posts, comments, videos—with a clean, reusable trait and a single database table.

  • Simple HasLikeable trait for Eloquent models
  • Polymorphic relations support liking any entity
  • Toggle, like, and unlike helpers with query scopes
  • Configurable user and like models
  • Migration stub and easy publishable config included
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.
shitoudev/permissionmanager
johannesclimacus/laravel-tui
hocvt/seotools
vitalybaev/sypexgeo
amphibee/themosis-ignition
gito-me/fast-excel
frankyso/laravel-ipaymu
geolize-studio/laravel-chile
boomerangui/chat
jinas/dhivatar
store-doc/laravel-storage-driver
plus-it/laravel-translation-manager
diephp/perhaps
diephp/telegraph
osmaviation/spreadsheet
microsoft/fluentui-system-icons
mmccook/php-json-canonicalization-scheme
middlewares/firewall
qubiqx/montapacking
nyoncode/laravel-package-console