定制 drupal/matrix_recipes 二次开发

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

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

drupal/matrix_recipes

Composer 安装命令:

composer require drupal/matrix_recipes

包简介

Drupal recipes for Matrix API integration demos and starter configurations.

README 文档

README

A collection of Drupal recipes for integrating Matrix with Drupal sites. Built on top of the matrix_api module.

Requirements

  • Drupal 11.2+
  • A Matrix homeserver (e.g. meatball.zone running Synapse)
  • A bot user account and access token

Installation

composer require freelock/matrix_recipes

Then apply individual recipes as needed:

drush recipe vendor/freelock/matrix_recipes/matrix_api_demo

Available recipes

RecipeDescription
matrix_api_demoNode/comment ↔ Matrix thread sync on Article nodes
matrix_poll_endpointECA endpoint at /eca/matrix/poll for htmx-triggered polling
matrix_identityLink Drupal users to Matrix IDs; "whoami" bot command demo

Development

Each recipe lives in its own directory at the repo root. To add a new recipe, create a directory with a recipe.yml and optionally a config/ subdirectory for config entities.

See Drupal recipe documentation for the recipe authoring guide.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: GPL-2.0-or-later
  • 更新时间: 2026-06-23