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

Symfony Bridge Laravel Package

simple-bus/symfony-bridge

Symfony integration bridge for SimpleBus/MessageBus. Provides CommandBusBundle, EventBusBundle, and DoctrineORMBridgeBundle to wire command and event buses into your Symfony app, with docs and upgrade guide.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Architectural Decoupling: Enables a CQRS (Command Query Responsibility Segregation) or Event-Driven Architecture (EDA) pattern in Symfony applications, improving modularity and maintainability.
  • Roadmap for Scalability: Supports future-proofing by allowing asynchronous processing (e.g., background jobs, event sourcing) without tight coupling to Symfony’s native services.
  • Build vs. Buy: Buy—avoids reinventing a robust, battle-tested message bus system. Justifies investment in a well-documented, MIT-licensed package with active community contributions.
  • Use Cases:
    • Domain-Driven Design (DDD): Aligns with bounded contexts by encapsulating commands/events within services.
    • Microservices: Facilitates inter-service communication via events/commands (e.g., order processing, notifications).
    • Legacy Modernization: Gradually introduce event-driven workflows into monolithic Symfony apps.
    • Testing: Simplifies unit/integration testing via mockable message buses (e.g., in-memory vs. real implementations).

When to Consider This Package

Adopt if:

  • Your Symfony app requires decentralized logic execution (e.g., commands dispatched to handlers, events triggering side effects).
  • You need flexibility in message transport (e.g., switch from in-memory to Redis/AMQP later without refactoring).
  • Your team prioritizes testability and separation of concerns (e.g., commands vs. queries).
  • You’re already using SimpleBus/MessageBus or want to standardize on its ecosystem.

Look elsewhere if:

  • Your app is simple CRUD with no need for async/decoupled workflows (overkill for basic Symfony forms/controllers).
  • You’re locked into Symfony’s native Messenger component and don’t need SimpleBus’s abstractions (e.g., middleware, plugins).
  • Your team lacks PHP/Symfony expertise to configure buses/bundles (steep learning curve for beginners).
  • You need real-time features (this package focuses on messaging, not WebSockets/ReactPHP).
  • The last release (2021) is a dealbreaker for long-term maintenance (though MIT license allows forks).

How to Pitch It (Stakeholders)

For Executives: "This package lets us build Symfony apps with modular, scalable workflows—like a postal service for commands and events. Instead of tightly coupling logic to controllers, we can dispatch tasks (e.g., ‘ProcessOrder’) or broadcast changes (e.g., ‘OrderShipped’) independently. This reduces complexity, improves reliability, and sets us up for microservices if needed. It’s a low-risk investment (MIT license, active community) with payoffs in maintainability and team productivity."

For Engineers: *"SimpleBus/SymfonyBridge gives us first-class command/event buses in Symfony, with:

  • Pluggable transport: Use in-memory for dev, Redis/AMQP for prod.
  • Middleware support: Add logging, validation, or retries without hacking core logic.
  • Doctrine integration: Persist events/commands if needed (e.g., for auditing).
  • Testability: Mock buses easily for unit tests. It’s like Symfony’s Messenger, but with more flexibility and a proven track record. The tradeoff? A slight learning curve to adopt DDD patterns, but the long-term benefits for large apps are huge."*
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.
terminal42/code-quality-tools
codifyo/ts-generator-bundle
andydefer/laravel-cluster
testo/fiber
mintobit/jobqueue
a4sex/maintenance-bundle
a4sex/entity-date-update
a4sex/client-identifier
a4sex/base-utilites
a4sex/key-value-storage
a4sex/micro-status
chilldev/dependency-injection-extra
datinglibre/datinglibre-app-api
biberltd/corebundle
bricre/symfony-bundle-test
biberltd/logbundle
dominium/http-adapter-bundle
dominium/google-analytics
a4sex/auto-clean-entity
christhompsontldr/laravel-inky