drupal/matrix_recipes

Drupal recipes for Matrix API integration demos and starter configurations.

Maintainers

Package info

git.drupalcode.org/project/matrix_recipes.git

Homepage

Type:drupal-recipe

pkg:composer/drupal/matrix_recipes

Statistics

Installs: 6

Dependents: 0

Suggesters: 0

1.0.x-dev 2026-06-24 00:40 UTC

This package is auto-updated.

Last update: 2026-06-24 07:41:31 UTC


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.