Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message
Messenger Bundle

Messenger Bundle Laravel Package

pccomponentes/messenger-bundle

Symfony bundle that simplifies asynchronous messaging with Symfony Messenger. It provides ready-to-use configuration for message buses, transports, and middleware, reducing boilerplate and helping PHP applications build reliable background processing and event-driven workflows.

View on GitHub
Deep Wiki
Context7

Symfony Messenger Bundle

Frequently asked questions about Messenger Bundle
What does pccomponentes/messenger-bundle actually do?
It is a Symfony bundle that ships ready-to-use configuration for Symfony Messenger: message buses, transports, and middleware. The goal is to cut boilerplate so PHP applications can stand up asynchronous messaging, background processing, and event-driven workflows faster. It is a Symfony bundle, not a Laravel package, so its Laravel relevance is indirect rather than native.
Can I use pccomponentes/messenger-bundle in a Laravel application?
Only indirectly. Laravel does not bootstrap Symfony bundles, so the bundle autoconfiguration will not run out of the box in a Laravel app, and Laravel already ships its own queue system with Horizon. Laravel teams typically get Symfony Messenger behaviour either by hand-wiring Symfony components or by staying on Laravel queues. Validate the integration shape in a spike before planning adoption.
How do I install and configure pccomponentes/messenger-bundle?
Install it with composer require pccomponentes/messenger-bundle, then register the bundle in your Symfony kernel bundles.php file. After that it supplies defaults for buses, transports, and middleware. The exact config keys are not covered in the README excerpt available, so read the bundle config reference and cross-check against Symfony Messenger docs, and watch for collisions if you already maintain explicit messenger.yaml configuration.
Which Symfony and PHP versions does messenger-bundle require?
The v4.2.1 release note states that Symfony 6.4 or later is now required. That floor lines up roughly with the Symfony components shipped in Laravel 10.x and 11.x, so those estates are the natural fit. The supported PHP range is not confirmed in the available evidence, so check the package composer.json for the exact constraint rather than assuming 8.2 to 8.4.
Does v4.2.1 break applications still on Symfony 6.0 to 6.3?
Effectively yes. Raising a dependency floor in a patch release means Composer will refuse to resolve 4.2.1 for projects pinned to Symfony 6.0 through 6.3. Those applications should pin the package to the last 4.1.x release rather than floating on a caret constraint, and schedule the framework upgrade instead of fighting the resolver.
Is pccomponentes/messenger-bundle actively maintained?
The evidence is thin: the entire assessment rests on the v4.2.1 release note, with no changelog history, dependency manifest, or test coverage report available. That does not prove the package is abandoned, but it does mean you should check the GitHub commit history and release cadence yourself. Treat it as an infrastructure-tier dependency with the same change control as the framework.
What changed with the Symfony 7 exception unwrapping fix?
The v4.2.1 note says it fixes Symfony 7 exception unwrapping, which affects how faithfully exceptions surface to handlers and monitoring under Symfony 7. It is unclear from the evidence whether the exception object consumers receive changes or only the reported trace depth, so ask the maintainer. Diff captured exception payloads in staging before promoting.
How should I test asynchronous message handling built on this bundle?
Use Symfony in-memory or sync transports in the test environment so messages dispatch inline, and assert on handler side effects rather than on transport internals. If your tests assert on exception messages or previous-exception chains, re-baseline them after upgrading, since the unwrapping fix can change what surfaces. Keep one integration test running against the real transport in CI.
What production risks should I monitor after upgrading?
A regression in this layer shows up as obscured or misattributed stack traces rather than a visible feature failure, so the quality of your error signatures is the metric to watch. Re-baseline Sentry, Bugsnag, or Flare alert rules keyed to historical exception fingerprints after the upgrade. Also watch CI for unexpected Composer resolution failures on any service still pinned to Symfony 6.0 to 6.3.
What alternatives to messenger-bundle should I consider?
Laravel native queues with Horizon, or the standalone symfony/messenger component configured directly without this bundle. Using Messenger without the bundle gives you full control and one fewer dependency sitting in your exception-handling path. If you do want an opinionated config layer, weigh it against the maintenance signal, which is currently a single release note.
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
novasa/laravel-language-center
opencage/geocode
adolfoholzer/parameters
livenetworks/ln-starter
shitoudev/permissionmanager
johannesclimacus/laravel-tui
hocvt/seotools
vitalybaev/sypexgeo
amphibee/themosis-ignition
gito-me/fast-excel
frankyso/laravel-ipaymu
geolize-studio/laravel-chile
boomerangui/chat
cgv/localized-resource
noith/settings
kda/laravel-package
kda/filament-dynamic-navigation
bypersoft/signbox
pairus/product-data
fayne/laravel-filament-cms-core