gdbots/pbjx-bundle
Symfony bundle for integrating Gdbots PBJX with Symfony applications. It registers PBJX services, message bus and event-sourcing components, and configuration so you can wire PBJ schemas and messaging into your app with less boilerplate.
gdbots/pbjx-bundle is a thin Symfony DI integration over gdbots/pbjx, so the real question is "do we buy into the PBJ/PBJX model" rather than "do we add this bundle."Symfony\Bundle\FrameworkBundle-style extension, service definitions, bundle registration). It will not boot in Laravel. A Laravel decision would be "use gdbots/pbjx directly and hand-wire service providers," which is a meaningfully larger build.Consider it only when most of these hold:
gdbots/pbj schemas and the PBJ compiler toolchain.Look elsewhere when:
gdbots/pbjx before committing; the bundle won't add it.Health signal to weigh explicitly: the v5.0.0 breaking release (2026-01-16) confirms active maintenance, but it also tells you the project's policy is to track the leading edge of Symfony and PHP with major-version jumps and no parallel LTS branch. Expect to be forced onto new Symfony/PHP majors on their schedule, not yours, and to absorb breaking upgrades in a dependency with no community to help you debug them. Ask for reference deployments, confirm the release cadence isn't purely internal-driven, and ask what the support window is for the pre-8.x line.
For executives: This is a small, free (Apache-2.0) integration layer that sits on top of a schema-driven messaging library. It buys us a consistent, contract-first way for services to exchange commands and events, and it lets us change the underlying message broker later without rewriting business logic. The latest release (v5.0.0) also ties us to the newest Symfony 8 and PHP 8.5, so it only makes sense if our platform upgrade is already planned. The cost is not license fees — it's the learning curve of the PBJ schema toolchain, plus the fact that we become our own support team: no public community, no third-party dependents, and a single vendor whose release policy is to move quickly to new framework majors.
For engineering: It's a Symfony bundle; it registers PBJX buses, subscribers, and a transport into the container. In exchange for adopting PBJ schemas (codegen step in the build), you get typed, versioned messages and a transport abstraction. Note the v5.0.0 breaking change: Symfony 8.x and PHP 8.5+ are hard requirements, with no compatibility shim for 7.x — so the integration task starts with a platform upgrade, and the 4.x line becomes our pin if we can't do that now. It is not a Laravel package — on Laravel we'd use gdbots/pbjx directly and write the service provider ourselves, which roughly doubles the integration effort.
Recommendation to state plainly: Treat this as a strategic vendor bet, not a commodity dependency, and treat the v5.0.0 platform floor as an additional adoption gate. The scoring (low opportunity score, no dependents) argues against putting it on the core roadmap without a time-boxed spike. Approve a 1–2 week spike on a non-critical Symfony service that is already on Symfony 8 / PHP 8.5 — validating the schema toolchain, the transport we'd actually use, and the operational story — and decide build-vs-buy at the end of it. If the spike is skipped, or if the platform upgrade isn't independently justified, the default should be the framework-native option (Symfony Messenger or Laravel queues), not this bundle.
How can I help you explore Laravel packages today?