The 'Using Symfony Messenger' section has been added to the Cookbook - #501
The 'Using Symfony Messenger' section has been added to the Cookbook#501klsoft-web wants to merge 1 commit into
Conversation
klsoft-web
commented
Aug 2, 2026
| Q | A |
|---|---|
| Is bugfix? | ❌ |
| New feature? | ✔️ |
| Breaks BC? | ❌ |
|
Let's see if we'll release yiisoft/queue soon. Then it might be unnecessary to have this one in docs... |
|
Thanks anyway! |
I think it's still useful to have dedicated integration articles. It might make sense to create a top-level "Third-Party Integrations" page in the documentation and use it as an index with links to individual integration guides. The first one could be the Symfony Messenger integration guide. Yii Queue isn't a 100% equivalent. For some projects, Symfony Messenger may actually be the better choice. I'd still suggest adding the article. |
|
OK. Makes sense. |
|
@klsoft-web Can you create index page "Third-party Integrations" and place your article into it? |
|
| Example: | ||
|
|
||
| ```php | ||
| use App\Messages\MyMessage |
There was a problem hiding this comment.
| use App\Messages\MyMessage | |
| use App\Messages\MyMessage; |
| $configuration = $container->get(Configuration::class); | ||
| $connection = new Connection([], DriverManager::getConnection( | ||
| $params['doctrine']['connection'], | ||
| $configuration |
There was a problem hiding this comment.
Have you checked it in action? That would likely produce type error.
| ## Installation | ||
|
|
||
| ```shell | ||
| composer require symfony/messenger |
There was a problem hiding this comment.
We use not only symfony/messenger but way more packages.
| {text: 'Using a Custom Migration Template', link: '/cookbook/custom-migration-template'}, | ||
| {text: 'Using Yii in Third-Party Applications', link: '/cookbook/using-yii-in-third-party-apps'} | ||
| {text: 'Using Yii in Third-Party Applications', link: '/cookbook/using-yii-in-third-party-apps'}, | ||
| {text: 'Using Symfony Messenger', link: '/cookbook/using-symfony-messenger'} |
There was a problem hiding this comment.
src/cookbook/index.md needs updating.