laravel-interaction/like
A Laravel package for adding like and unlike interactions to your Eloquent models. Use a simple trait to let users like any model, toggle likes, check status, and query like counts with ease.
composer require laravel-interaction/interactions and pin ^1.0 now that 1.0.0 is the first stable release.php artisan vendor:publish --tag="interactions-migrations" then php artisan migrate. Publish config if the package exposes it.Post.withCount unless you need custom filtering.is_liked, likes_count, or a small interactions summary. Use API resources to keep response shape consistent.php artisan config:clear after changing package config, and remember that config:cache can hide new config keys.How can I help you explore Laravel packages today?