Skip to content

symfony/mercure-notifier

Repository files navigation

Mercure Notifier

Provides Mercure integration for Symfony Notifier.

DSN example

MERCURE_DSN=mercure://HUB_ID?topic=TOPIC

where:

  • HUB_ID is the Mercure hub id
  • TOPIC is the topic IRI (optional, default: https://symfony.com/notifier. Could be either a single topic: topic=https://foo or multiple topics: topic[]=/foo/1&topic[]=https://bar)

Resources