componenta/cqrs-transport

Async transport middleware and contracts for Componenta CQRS commands

Maintainers

Package info

github.com/componenta/cqrs-transport

pkg:composer/componenta/cqrs-transport

Statistics

Installs: 4

Dependents: 3

Suggesters: 0

Stars: 0

Open Issues: 0

v1.0.0 2026-06-21 11:53 UTC

This package is auto-updated.

Last update: 2026-06-21 12:09:20 UTC


README

Async transport middleware, transport contracts, JSON command serializer, registry, and worker for componenta/cqrs commands marked with #[Async].

composer require componenta/cqrs-transport

Register the provider and configure TransportRegistryInterface and CommandSerializerInterface in the container.

return [
    new Componenta\CQRS\ConfigProvider(),
    new Componenta\CQRS\Transport\ConfigProvider(),
];

The package provides:

  • Componenta\CQRS\Command\Middleware\TransportMiddleware
  • Componenta\CQRS\Command\Transport\TransportInterface
  • Componenta\CQRS\Command\Transport\TransportRegistryInterface
  • Componenta\CQRS\Command\Transport\CommandSerializerInterface
  • Componenta\CQRS\Command\Transport\CommandWorker

For a Cycle Database transport, install componenta/cqrs-transport-cycle. For the Symfony Console worker command, install componenta/cqrs-transport-console.