lendable/symfony-messenger-polyfill

This package is abandoned and no longer maintained. No replacement package was suggested.

Use Symfony Messenger v4.2 with older Symfony versions.

Package info

github.com/Lendable/symfony-messenger-polyfill

Type:symfony-bundle

pkg:composer/lendable/symfony-messenger-polyfill

Statistics

Installs: 23 731

Dependents: 0

Suggesters: 0

Stars: 3

Open Issues: 1

v0.1.2 2019-01-12 15:14 UTC

Requires

Suggests

None

Provides

None

Conflicts

None

Replaces

None

MIT b6bb55bfb317f4161aa72ed5fa325ebf18bcf2b2

  • Lendable Ltd <dev.woop@lendable.co.uk>

bundleMessengerLendablepolyfillsymfony3symfony4symfony-messenger

This package is auto-updated.

Last update: 2023-05-02 14:29:24 UTC


README

Allows to use Symfony Messenger with Symfony 3.4 and 4.0.

👁 PHP Version
👁 Latest Stable Version
👁 Latest Unstable Version

👁 Build Status
👁 Total Downloads

Documentation

Installation

1. Add dependency with composer

composer require lendable/symfony-messenger-polyfill

2. Register the bundle in your bundles.php

return [
 //...
 Lendable\Polyfill\Symfony\MessengerBundle\MessengerBundle::class => ['all' => true],
];

Configuration

The only important thing is that root key is lendable_polyfill_messenger.

How to use

Everything is explained in the Symfony Documentation.

If we take this configuration example, instead of writing:

# config/packages/messenger.yaml
framework:
 messenger:
 routing:
 'My\Message\Message': amqp # The name of the defined transport

You would write:

# config/packages/messenger.yaml
lendable_polyfill_messenger:
 routing:
 'My\Message\Message': amqp # The name of the defined transport