More info/documentation about Mercure & Drupal

Created on 27 January 2023, almost 2 years ago
Updated 28 December 2023, 12 months ago

Problem/Motivation

We're currently looking at adding realtime push notifications to a new D10 build, and have been looking at node.js. The Mercure approach seems to be a great option.

I'm wondering if you know of any other modules that use Mercure or integrate with this module? For example, views, dashboard, notifications, etc?

Or is there a "starterkit" module we can look at as a starting point?

Also do you know of any additional documentation or training available for Mercure in Drupal?

Thank you!

πŸ’¬ Support request
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States jweirather Phoenix, AZ

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • Issue created by @jweirather
  • πŸ‡§πŸ‡ͺBelgium Robin.Houtevelts

    This module doesn't aim to do much more than it currently does: registering service definitions the way it is done by the Symfony bundle.
    Other modules can provide the higher-level niceties you mention (Views, an overview, ...).
    I'm happy to see that drupal/inotify β†’ already takes a stab at this.
    (In the future we might be open to adding such things as a submodule.)

    For documentation on how to use/configure this module I think the Symfony Mercure Bundle documentation is the best resource.
    For setting up a Mercure Hub, refer to the official installation guide.
    And of course the getting started guide.

    It's a relatively young module and Mercure is being used more in Symfony/Api-Platform projects.
    At the moment I'm not aware of other Drupal modules using Mercure so I can't provide a starting point unfortunately.
    I'll keep this open for others to promote their work 🀞

Production build 0.71.5 2024