Weave Code
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

Ddd Symfony Bridge Laravel Package

becklyn/ddd-symfony-bridge

View on GitHub
Deep Wiki
Context7
6.2.1

Fixed

  • RegisterHandlersPass now registers event_subscriber handlers for any Message, not only DomainEvent subclasses. A subscriber handling a plain Message (e.g. an inbound external event with no aggregate of its own) was previously never wired to the event bus at all -- because the event bus has allow_no_handlers: true, this failed completely silently, with the message accepted and "handled" while zero handlers actually ran, no exception, and no log line anywhere. (#7)
6.2.0

Add Symfony Messenger command and event buses, replacing the SimpleBus ones. simple-bus/symfony-bridge caps symfony/* at ^6.0 and has been unmaintained since 2021, so it is a hard blocker for Symfony 7.

  • MessengerCommandBus / MessengerEventBus implement the CommandBus and EventBus application interfaces against MessageBusInterface.
  • RegisterHandlersPass translates the existing command_handler and event_subscriber tags into Messenger messenger.message_handler tags, so consuming applications keep their tags and handler classes unchanged. One handler is registered per public method whose first parameter is a concrete Command or DomainEvent; methods typed against the interfaces themselves, #[Required] setters and query handlers are skipped.
  • The bundle prepends framework.messenger config for the two synchronous buses, with allow_no_handlers on the event bus.

The SimpleBus classes remain for consumers still on Symfony 6. Also adds the TreeBuilder return type to Configuration::getConfigTreeBuilder() for Symfony 7.

Verified against a real application: 165 command handlers and 200 event subscribers registered across 421 handler classes with no source changes.

6.1.0

What's Changed

  • 6.1.0 release by @Thyrannoizer in https://github.com/Becklyn/ddd-symfony-bridge/pull/5
  • Updated Symfony component constraints to ^6.4 || ^7.4 to target Symfony 7.4 LTS.
  • Updated doctrine/doctrine-bundle constraint to ^2.11 || ^3.0, dropping support for the EOL 1.x branch.
  • Updated becklyn/ddd-doctrine-bridge to ^3.0 and becklyn/ddd-core to ^4.0, enabling doctrine/orm ^3.x and doctrine/dbal ^4.x support and removing the abandoned doctrine/cache transitive dependency.

Full Changelog: https://github.com/Becklyn/ddd-symfony-bridge/compare/6.0.0...6.1.0

5.2.0

5.2.0

  • BC - Drop Support for Symfony 5, add Support for Symfony 7

5.1.0

  • BC - remove sensio framework extra bundle
4.0.2

4.0.2

:bug: Bug Fixes

  • Fixed calling empty from global namespace.
4.0.1

4.0.1

:bug: Bug Fixes

  • Fixed TypeError occurring in Symfony controllers caused by AggregateIdParamConverter
4.0.0

:boom: Breaking Changes

  • Switched to 4.0 series of becklyn/ddd-core with separate CommandBus methods with and without correlation
3.1.0

:gift: New Features

  • Support for 3.2 series of becklyn/ddd-core which allows CommandBus to correlate commands
3.0.1

:sparkles: Improvements

  • Capped supported versions of becklyn/ddd-core to < 3.1.0
3.0.0

:boom: Breaking Changes

  • Support for latest version of becklyn/ddd-core and becklyn/ddd-doctrine-bridge which provide event correlation and causation IDs.
2.1.0

:gift: New Features

  • Support for latest version of becklyn/ddd-doctrine-bridge which provides \DateTimeImmutable microsecond support for Oracle
2.0.2

:sparkles: Improvements

  • Pins Symfony 5 version to at least 5.4
2.0.1

:sparkles: Improvements

  • Now works with Symfony 6
2.0.0

:gift: New Features

  • PHP 8 branch providing Symfony integration for components provided by becklyn/ddd-core and becklyn/ddd-doctrine-bridge

:boom: Breaking Changes

  • No longer works with PHP 7
1.0.0

:gift: New Features

  • PHP 7 branch providing Symfony integration for components provided by becklyn/ddd-core and becklyn/ddd-doctrine-bridge
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.
calmfox/watch-sylius
damienfern/grpc-symfony-bundle
atoolo/index-bundle
atoolo/genai-bundle
coprotoai/laravel-ticket
davidjln/llm-carbon-bundle
cryonighter/valid-request-bundle
coolms/taxonomy-bundle
coolms/field-bundle
articulate-orm/symfony
aaix/laravel-tall-architect
ephoto/akeneo-connector
emmanuelballery/eb-plantumlbundle
emielburgman/symfony-visitor-beacon
emielburgman/symfony-visit-storage
emielburgman/symfony-security-headers
emielburgman/symfony-log-viewer
emarref/xdebug-bundle
emarref/pubnub-bundle
elriseio/finance-money-bundle