Drupal is a registered trademark of Dries Buytaert
Release: Leaflet 10.4.11 Minor update available for module leaflet (10.4.11). Release: Session Inspector 1.0.8 Minor update available for module session_inspector (1.0.8). Release: Migrate QA 2.0.4 Minor update available for module migrate_qa (2.0.4). Release: CKEditor Description List 3.0.0 Major update available for module ckeditor_descriptionlist (3.0.0). Release: FlowDrop 2.4.0 Minor update available for module flowdrop (2.4.0). Release: JWT Token Refresh 1.0.4 Minor update available for module jwt_token_refresh (1.0.4). Release: ConReg 1.0.0-beta1 First beta version released for module conreg (1.0.0-beta1). Release: AI Image Studio 1.0.0-beta8 New beta version released for module ai_image_studio (1.0.0-beta8). Usage Milestone: Role Theme Switcher Module role_theme_switcher crossed 1,000 active installs. Module Revived: Decoupled Router 2.0.7 Module decoupled_router updated after 11 months of inactivity (2.0.7).

This project provides ready-to-use Drupal recipes that simplify integration with the Matrix API. These recipes can be applied with a single command to set up common use cases like content synchronization, poll endpoints, and identity lookups, requiring minimal manual configuration.

Ready-to-apply Drupal recipes for Matrix API integration. Each recipe wires up a complete use case — node/comment sync, poll endpoints, identity lookup — with one command.

A collection of Drupal recipes for common Matrix API integration scenarios. Each recipe installs the required modules and imports a ready-to-use ECA configuration so you can go from zero to a working Matrix integration with a single command.

Available recipes

matrix_api_demo Adds Matrix sync to the Article content type. New nodes post to a Matrix room; comments post as thread replies; Matrix thread replies create Drupal comments. matrix_poll_endpoint Creates an ECA endpoint at /eca/matrix/poll

for htmx-triggered polling. POST to this URL to force a Matrix sync before refreshing comment lists.

matrix_identity Installs matrix_api_identity

and adds a demo ECA model: send "whoami" in a Matrix room and the bot replies with your linked Drupal account name.

 

Requirements

Drupal 11.2 or later. The matrix_apimodule and its configuration (homeserver URL, bot token) must be in place before applying a recipe.

How to install

composer require drupal/matrix_recipes
drush recipe recipes/matrix_recipes/matrix_api_demo

Recipes are applied once and can be removed from your codebase afterward — they leave behind only the configuration they imported.

Note on recipes vs. modules

Recipes are not modules. They cannot be enabled or disabled; they are applied once with

drush recipe and do their work. The configuration they import lives in your site's active config and can be edited or deleted like any other Drupal configuration.

Activity

Tracked releases
1
Tracked since
Jun 2026
Latest release
2 months ago
Releases (12 mo)
1 ▲ from 0
Maintenance
Active

Releases

Version Type Release date
1.0.x-dev Dev Jun 23, 2026