Installation

composer require babelqueue/symfony

Requirements

  • PHP ^8.2
  • Symfony ^6.4 | ^7.0 (Messenger)
  • A broker Messenger supports — AMQP/RabbitMQ, Redis, etc.

The adapter pulls in the framework-agnostic core (babelqueue/php-sdk) automatically.

Enable the bundle

With Symfony Flex the bundle is registered for you. Otherwise add it to config/bundles.php:

return [
    // ...
    BabelQueue\Symfony\BabelQueueBundle::class => ['all' => true],
];

That registers the Messenger serializer (babelqueue.messenger.serializer), the trace-propagation middleware (babelqueue.messenger.trace_middleware) and the URN message registry into the container.

Next: Configuration.