Weave Code
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.2

Fixed Github workflow tests

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
1.0.0
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.
nexmo/api-specification
capell-app/block-library
axium/identity
cetria/laravel-dummy-models
cetria/reflection-helper
agropredict/sso-auth-bundle
evolvestudio/spam-protection
datacore/hub-sdk
develia/commons
cuci/prototurk-sdk
cuci/prototurk-sdk-symfony
develia/geo-bundle
dreamzy/livewire-charts
touchestate-sdk/php-sdk
ecotone/kafka
22h/doctrine-garbage-collection-bundle
agtp/agtp-php
agtp/mod-php
splash/sonata-admin
splash/metadata