Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
This repository was archived by the owner on Aug 31, 2023. It is now read-only.

Lendable/symfony-messenger-polyfill

Repository files navigation

Symfony Messenger Polyfill

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

About

Symfony Messenger polyfill bundle that integrates with Symfony v3.4 and v4.0

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  
Morty Proxy This is a proxified and sanitized view of the page, visit original site.