Skip to content

The 'Using Symfony Messenger' section has been added to the Cookbook - #501

Closed
klsoft-web wants to merge 1 commit into
yiisoft:masterfrom
klsoft-web:using-symfony-messenger-with-yii3
Closed

The 'Using Symfony Messenger' section has been added to the Cookbook#501
klsoft-web wants to merge 1 commit into
yiisoft:masterfrom
klsoft-web:using-symfony-messenger-with-yii3

Conversation

@klsoft-web

Copy link
Copy Markdown
Contributor
Q A
Is bugfix?
New feature? ✔️
Breaks BC?

@samdark

samdark commented Aug 2, 2026

Copy link
Copy Markdown
Member

Let's see if we'll release yiisoft/queue soon. Then it might be unnecessary to have this one in docs...

@samdark

samdark commented Aug 2, 2026

Copy link
Copy Markdown
Member

Thanks anyway!

@vjik

vjik commented Aug 2, 2026

Copy link
Copy Markdown
Member

Let's see if we'll release yiisoft/queue soon. Then it might be unnecessary to have this one in docs...

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.

@samdark

samdark commented Aug 3, 2026

Copy link
Copy Markdown
Member

OK. Makes sense.

@vjik

vjik commented Aug 3, 2026

Copy link
Copy Markdown
Member

@klsoft-web Can you create index page "Third-party Integrations" and place your article into it?

@klsoft-web

Copy link
Copy Markdown
Contributor Author

@klsoft-web Can you create index page "Third-party Integrations" and place your article into it?

Done

Example:

```php
use App\Messages\MyMessage

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
use App\Messages\MyMessage
use App\Messages\MyMessage;

$configuration = $container->get(Configuration::class);
$connection = new Connection([], DriverManager::getConnection(
$params['doctrine']['connection'],
$configuration

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Have you checked it in action? That would likely produce type error.

## Installation

```shell
composer require symfony/messenger

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We use not only symfony/messenger but way more packages.

Comment thread src/.vitepress/config.js
{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'}

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

src/cookbook/index.md needs updating.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants