Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Matrix Recipes

No security coverage

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.

Ask your assistant about Matrix Recipes

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

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

Releases

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