turahe/laravel-likeable
Laravel Likeable adds likes and dislikes to any Eloquent model in minutes. Prepare your model, then use built-in methods, scopes, events, and console commands to manage reactions with clean, tested Laravel integration.
Dockerfile, Makefile, docker/composer-install.sh, docker/test.sh).build/vendor-php-* directoriesilluminate/database and illuminate/support constraintsLikeCounter::rebuild() now delegates to LikeableService for counter removal and recountinggetLikeTypeId() resolves string types with LikeType::tryFrom() instead of constant lookupfetchLikesCounters() normalizes model class names to morph typeslikeTypeRelations() uses LikeType enum values as relation map keys[@runInSeparateProcess](https://github.com/runInSeparateProcess); runs in ~13 seconds instead of timing outBaseTestCase uses migrate:fresh for reliable per-test database isolationsrc/, tests/, and migrations/LikeObserver uses strict === comparison for like type checksRelation::morphMap([], false) in ConsoleCommandTest)fetchLikesCounters() returning empty results when a morph map is registeredtearDown() methods now call parent::tearDown() for proper application cleanupHow can I help you explore Laravel packages today?