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

qirolab/laravel-reactions

View on GitHub
Deep Wiki
Context7
3.2.1
  • Fixed github workflow tests
3.2.0
  • Laravel 12.x support.
3.1.0
  • Laravel 12.x support.
3.0.0
  • Allow configuration for reacts_model and reacts_id_column.
2.8.0
  • Laravel 11.x support
2.7.0
  • Drop support for Laravel v6, v7
  • Laravel 10.x support
2.6.2
  • Optimize Reaction Summary
2.6.1
  • Add a publishable config file with a 'table_name' key
2.6.0
  • Laravel 9.0 support
  • Drop support for Laravel 5.*
2.5.0
  • Laravel 8.0 support
2.4.0
  • Laravel 7.0 support
2.3.0
  • Laravel 6.0 support
2.2.0

Fixed

  • Changed output for reactionSummary() and 'reaction_summary' method in reactable model.
$article->reactionSummary();
$article->reaction_summary;

// example
$article->reaction_summary->toArray();
// output
/*
[
    "like" => 5,
    "dislike" => 2,
    "clap" => 4,
    "hooray" => 1
]
*/
  • Fixed toggleReaction() function. Now it will return Qirolab\Laravel\Reactions\Models\Reaction object.

Added

  • new reacted() method added on in reactable model.
$article->reacted(); // current login user
  • new reactedOn($article) method added to reacts model.
$user->reactedOn($article);
2.1.0
  • Laravel 5.8 compatibility
2.0.0
  • package namespace changed from Hkp22 to Qirolab.
  • package vendor name changed from hkp22 to qirolab. Now to install this package required new command to run composer require qirolab/laravel-reactions.
1.0.0
  • initial release
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.
mehedimi/laravel-amp-mail
happones/laravel-vue-i18n-generator
jwerd/inertia-table
siberfx/flysystem-wasabi
hollyit/token-replace
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