teddan / dislikes
Allow users to dislike posts.
Requires
- flarum/core: ^2.0
Requires (Dev)
- flarum/phpstan: ^2.0
- flarum/testing: ^2.0
Suggests
None
Provides
None
Conflicts
None
Replaces
None
This package is auto-updated.
Last update: 2026-09-06 23:46:03 UTC
README
A Flarum extension. Allow users to dislike posts — the mirror image of the
bundled flarum/likes extension.
It can be enabled alongside flarum/likes: dislikes are stored in their own post_dislikes table
with their own discussion.dislikePosts permission and their own notification type, so the two
extensions never touch each other's data.
Features
- "Dislike" / "Undislike" button under each post, respecting a
discussion.dislikePostspermission - "X dislike this" summary line under a post, with a modal listing every disliker
- Optional notification to the post's author when their post is disliked
- A Dislikes tab on user profiles (
/u/<name>/dislikes) listing posts that user disliked dislikedBy:search gambit /filter[dislikedBy]andfilter[disliked]API filters- Admin setting: allow / disallow disliking your own posts
- Admin setting: override the icon (defaults to
far fa-thumbs-down, the mirror of the Likes thumbs-up) - Optional
flarum/realtimeintegration (live stream refresh on dis/undislike)
Installation
composer require teddan/dislikes:"*"
php flarum migrate
php flarum cache:clear
Updating
composer update teddan/dislikes:"*"
php flarum migrate
php flarum cache:clear
Migrating from nodeloc/dislikes
This package keeps the same post_dislikes table schema, so existing dislike data is preserved.
Replace the requirement and re-migrate:
composer require teddan/dislikes:"*"
php flarum migrate
php flarum cache:clear
The create-table migration uses createTableIfNotExists, so it is a no-op when the table already exists.
Links
Credits
Derived from flarum/likes by the Flarum team, MIT licensed.
Upgraded to Flarum 2.0 and rebranded from nodeloc/dislikes.