Download the PHP package adrian-mid/humhub-reactions without Composer

On this page you can find all versions of the php package adrian-mid/humhub-reactions. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package humhub-reactions

HumHub Reactions

Add emoji reactions to HumHub posts and comments.

Features

Requirements

Installation

Use a separate Composer project in protected/modules/. The module installs to protected/modules/humhub-reactions/ and its dependencies go to protected/modules/vendor/, leaving HumHub's protected/vendor/ tree untouched.

Do not run composer init or composer require at the HumHub web root.

One-time setup - copy the Composer scaffold (once per HumHub instance):

Install or update:

Enable HumHub Reactions under Administration → Modules.

Configure the module under Administration → Settings → HumHub Reactions.

For a developer-oriented walkthrough of the architecture, see HOW_IT_WORKS.md.

Configuration

Setting Description
Enable emoji reactions Activates reactions on posts and comments
Replace the default Like button Hides HumHub's built-in Like control when reactions are active
Available reactions Choose which emoji users can pick from

How it works

The module hooks into HumHub's wall entry and comment link areas. When a user hovers the React button, a floating emoji bar appears (Facebook-style). Selecting an emoji stores one reaction per user per post or comment.

Reaction counts are shown above the action links as overlapping emoji badges with a total count. Clicking the summary opens a modal listing everyone who reacted.

When someone adds a new reaction to a post or comment, HumHub sends notifications the same way it does for comments: an in-app alert and an optional email to followers who have reaction notifications enabled. Users can manage this under Account Settings → Notifications → Reactions. Changing an existing reaction to a different emoji does not send another notification.

Reactions also appear in HumHub's mail summary digest (hourly, daily, weekly, or monthly), alongside comments and likes. Users can include or exclude them under the Activities checkboxes in their mail summary settings.

Why this module has its own emoji catalog

Reactions on the wall are plain Unicode characters - no image library is needed to display them. The catalog exists for the admin settings picker (search, groups, stable keys like thumbs_up) and to validate saved reactions.

HumHub 1.16+ ships a similar dataset via unicode-emoji-json and EmojiMap, but this module supports HumHub 1.14+ and cannot require a newer core version. On many installs the full JSON file is missing or core only exposes name-to-emoji lookup, not the grouped reverse index the admin UI needs.

So the module implements EmojiCatalog: it uses HumHub’s copy of the data when available, and falls back to a built-in list when not. That keeps behaviour consistent across supported HumHub versions without raising the minimum version.

Development

This module is maintained with strict static analysis, coding standards, and unit tests:

Run all checks:

CI runs the same checks on push and pull requests via GitHub Actions.

License

GPL-3.0-or-later - see LICENSE.

Changelog

See CHANGELOG.md.


All versions of humhub-reactions with dependencies

PHP Build Version
Package Version
Requires php Version >=8.0
composer/installers Version ^2.3
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package adrian-mid/humhub-reactions contains the following files

Loading the files please wait ...