Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Matrix API Entity

Security covered Under active development

This module synchronizes Drupal content with Matrix chat rooms, allowing nodes and comments to be posted to Matrix and replies in Matrix to create new Drupal comments. It maintains a mapping between Drupal content and Matrix messages for seamless bidirectional updates.

Bidirectional sync between Drupal content entities and Matrix room threads. Nodes and comments mirror to Matrix; replies in Matrix create Drupal content.

Features

  • Maintains a mapping table between Drupal entity IDs and Matrix event IDs, so each entity knows which Matrix message it corresponds to and vice versa
  • Outbound sync: when a node or comment is created, posts it to a configured Matrix room and stores the returned event ID
  • Inbound sync: when a Matrix thread reply arrives, creates the corresponding Drupal comment (or other entity) attributed to the correct node
  • InboundSyncService and OutboundSyncService with clean PHP APIs for custom integrations
  • EventIdIndex for efficient bidirectional lookups
  • ECA Plugins for retrieving mapped IDs, adding to the map

Post-Installation

Configure the entity types and Matrix rooms to sync on the module settings page. The module builds on top of ECA — install an ECA model (such as the one included in matrix_api_demo from matrix_recipes) to wire up the sync logic without custom code, or use the services directly in your own module.

Additional Requirements

matrix_api. ECA is recommended for configuration-driven sync; the services work standalone for code-driven use.

Ask your assistant about Matrix API Entity

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
Oct 2026
Latest release
1 month ago
Releases (12 mo)
1 ▲ from 0
Maintenance
Active

Releases

Version Type Core PHP Release date
1.0.x-dev Dev 11 Oct 7, 2026