定制 dereuromark/cakephp-reactions 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

dereuromark/cakephp-reactions

Composer 安装命令:

composer require dereuromark/cakephp-reactions

包简介

A CakePHP plugin for emoji/named reactions on any model

README 文档

README

CI Coverage Status PHPStan Latest Stable Version Minimum PHP Version License Total Downloads Coding Standards

Reactions plugin for CakePHP applications.

This branch is for use with CakePHP 5.1+. For details see version map.

This is the multiple-reactions-per-entity companion to dereuromark/cakephp-favorites, which handles the single-opinion star/like/favorite use case. For ratings, use dereuromark/cakephp-ratings.

Each reaction row stores a string reaction key in the reaction column. That key can be a literal emoji like 👍 or a named key like thumbsup. Set allowed if you want to restrict the accepted set.

Features

  • Polymorphic reactions for any CakePHP model.
  • Multiple distinct reactions per user per record.
  • Emoji literals (👍) and named keys (thumbsup, rocket, ...).
  • Optional allow-listing for accepted reaction keys.
  • Helper-rendered reaction widgets and count output.
  • Controller and component integration strategies.
  • Optional counter cache for fast list views.
  • Admin listing, protected by an explicit access callback.

Installation

composer require dereuromark/cakephp-reactions

See the Docs for setup, examples, configuration, and troubleshooting.

统计信息

  • 总下载量: 452
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 3
  • 依赖项目数: 1
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-05-25