reflar / reactions
This package is abandoned and no longer maintained.
The author suggests using the fof/reactions package instead.
Reactions for Flarum
dev-master
2019-04-06 14:04 UTC
Requires
- flarum/core: ^0.1.0-beta.8
This package is auto-updated.
Last update: 2022-02-01 13:09:06 UTC
README
A Flarum extension that adds reactions to your Flarum Community!
Usage
- Just click the react button when hovering over a post, and choose the reaction!
- Custom reactions can be easily added via the admin page
- Integration with Likes and Gamification
Installation
Install it with composer:
composer require reflar/reactions
Then login and enable the extension.
You can optionally convert specific reactions into likes, upvotes, and downvotes.
Developer Guide
You have 2 events to listen for PostWasReacted as well as PostWasUnreacted which both contain the post and reactor. PostWasReacted also includes the reaction identifier.