sm
73 sites
Security covered
This project integrates the Symfony Messenger component with Drupal.
Extensive documentation is available in the README, from installation, configuration, and developer guidance.
See also the Symfony Messenger series of posts on the PreviousNext blog:
- Introducing Symfony Messenger integrations with Drupal
- Symfony Messenger’ message and message handlers, and comparison with @QueueWorker
- Real-time: Symfony Messenger’ Consume command and prioritised messages
- Automatic message scheduling and replacing hook_cron
- Adding real-time processing to QueueWorker plugins
- Making Symfony Mailer asynchronous: integration with Symfony Messenger
- Displaying notifications when Symfony Messenger messages are processed
- Future of Symfony Messenger in Drupal
Requirements
Any actively supported version of Drupal core. All other dependencies are automatically managed by Composer.
Suggested projects
- Transports (usually you'll need one of these)
These are required to handle messages asynchronously. Like a queue; separately from the web thread.- Doctrine database transport — an alternative implementation for SQL, for use with Postgres, MySQL, etc. (SM is already bundled with a Drupal SQL native transport)
- AMQP database transport — for use with RabbitMQ, Apache ActiveMQ, etc
- Redis
- Message Scheduler — Automatically sends messages (queue items) on a recurring schedule, in the same manner as cron and crontab syntax.
- Mailer
- Symfony Mailer integration — transmit emails asynchronously; separately from the web thread. Requires a patch.
- Symfony Mailer Lite integration — and again, transmit emails asynchronously; separately from the web thread.
- Batch Messenger — Group Symfony Messenger messages together into a collection. Expose a UI of progress of each collection. Intercept and convert Batch API calls (
batch_set) to Messenger messages. - Notifier — Provides a unified way to send email, SMS, chat messages. Integrates with Symfony Message for dispatch.