PHPackages                             digicomp/flow-symfony-bridge-messenger - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. digicomp/flow-symfony-bridge-messenger

ActiveNeos-package

digicomp/flow-symfony-bridge-messenger
======================================

Flow dependency injection bridge to symfony/messenger

0.1.0(3y ago)01.0k3[2 issues](https://github.com/digital-competence/DigiComp.FlowSymfonyBridge.Messenger/issues)MITPHPPHP ^8.1

Since Jan 5Pushed 5mo ago1 watchersCompare

[ Source](https://github.com/digital-competence/DigiComp.FlowSymfonyBridge.Messenger)[ Packagist](https://packagist.org/packages/digicomp/flow-symfony-bridge-messenger)[ Docs](https://github.com/digital-competence/DigiComp.FlowSymfonyBridge.Messenger)[ RSS](/packages/digicomp-flow-symfony-bridge-messenger/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (3)Versions (5)Used By (0)

DigiComp.FlowSymfonyBridge.Messenger
====================================

[](#digicompflowsymfonybridgemessenger)

[![Build status](https://camo.githubusercontent.com/490ed726381ebbf3d33eb7c564d8dd33976684433dec2af4a704bb7bb5b89274/68747470733a2f2f63692e6469676974616c2d636f6d706574656e63652e64652f6170692f6261646765732f5061636b616765732f44696769436f6d702e466c6f7753796d666f6e794272696467652e4d657373656e6765722f7374617475732e7376673f6272616e63683d6d61696e)](https://camo.githubusercontent.com/490ed726381ebbf3d33eb7c564d8dd33976684433dec2af4a704bb7bb5b89274/68747470733a2f2f63692e6469676974616c2d636f6d706574656e63652e64652f6170692f6261646765732f5061636b616765732f44696769436f6d702e466c6f7753796d666f6e794272696467652e4d657373656e6765722f7374617475732e7376673f6272616e63683d6d61696e)

This packages brings a DI configuration for the `symfony/messenger` component, so it can be used easily in `neos/flow` projects.

To see how to use it, you probably want to have a look at the [documentation](https://symfony.com/doc/current/messenger.html) of `symfony/messenger`.

Getting started
---------------

[](#getting-started)

To get it integrated, you all need to do is to get message bus injected:

```
    #[Flow\Inject]
    protected MessageBusInterface $messageBus;
```

And later in your method:

```
    $this->messageBus->dispatch(new CustomMessage())
```

You should configure a routing, to let the messenger know, over which transport your message should be handled:

```
DigiComp:
  FlowSymfonyBridge:
    Messenger:
      transports:
        "custom-messages":
          dsn: "flow-doctrine://default?table_name=test_messenger_messages"
      routing:
        Acme\Vendor\Messenger\CustomMessage:
          - "custom-messages"
```

In this example we are using a doctrine transport (the speciality "flow-transport" is a transport which uses the already existing connection to doctrine instead of creating a new one - for the rest of the DSN-Format have a look in the documentation of `symfony/messenger`)

A handler for your CustomMessage could look like this:

```
use Symfony\Component\Messenger\Attribute\AsMessageHandler;

#[AsMessageHandler]
class CustomMessageHandler
{
    public function __invoke(CustomMessage $message)
    {
        //your code here
    }
}
```

It will be automatically found by Flow // the messenger and messages arriving at the bus will be handled by your handler.

Probably you'll want to consume the messengers with long living processes or as a cronjob. The Flow command for that task is `messenger:consume` (more help available)

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance49

Moderate activity, may be stable

Popularity16

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity47

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 65.5% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~44 days

Total

2

Last Release

1179d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/f2611409165e69b6d904337ee2394eab03510aacf592bd85ae35afc7a0d7c460?d=identicon)[fcool](/maintainers/fcool)

---

Top Contributors

[![fcool](https://avatars.githubusercontent.com/u/304736?v=4)](https://github.com/fcool "fcool (19 commits)")[![kaystrobach](https://avatars.githubusercontent.com/u/1185776?v=4)](https://github.com/kaystrobach "kaystrobach (6 commits)")[![s-kucharski](https://avatars.githubusercontent.com/u/129747195?v=4)](https://github.com/s-kucharski "s-kucharski (4 commits)")

---

Tags

symfonyflowNeosMessenger

### Embed Badge

![Health badge](/badges/digicomp-flow-symfony-bridge-messenger/health.svg)

```
[![Health](https://phpackages.com/badges/digicomp-flow-symfony-bridge-messenger/health.svg)](https://phpackages.com/packages/digicomp-flow-symfony-bridge-messenger)
```

###  Alternatives

[sandstorm/usermanagement

Neos and Flow package for user management, login/logout, password reset and user activation

3828.4k](/packages/sandstorm-usermanagement)[sandstorm/crudforms

Create easy CRUD forms for Domain Models in Flow and Neos CMS

2220.0k](/packages/sandstorm-crudforms)[neos/metadata-extractor

Extracts meta data from files into a neos/metadata data structure

103.5k1](/packages/neos-metadata-extractor)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
