dev-master
9999999-dev
MIT
The Requires
- php >=7.0
The Development Requires
by Daniel Bojdo
message queue message bus
1.0.0
1.0.0.0
MIT
The Requires
- php >=7.0
The Development Requires
by Daniel Bojdo
message queue message bus
The library provides an abstraction to publish / consume messages to / from message bus., (*1)
composer require webit/message-bus ^1.0.0
Message is just simple container to be published by Publisher and consumed by Consumer., (*2)
$message = new Message('message-type', json_encode(['some' => 'data to be sent']));
Message type is required to recognise what sort of message is sent and helps to understand how it should be handled. Message content is a message itself. It can be any string (not necessarily json)., (*3)
Publisher publishes a message (using underlying infrastructure) but Consumer awaiting the Message to process it., (*4)
Infrastructure is to be provided by a separate package. It should provide "webit/message-bus-infrastructure:^1.0.0" Composer Virtual Package., (*5)
./vendor/bin/phpunit
MIT
message queue message bus
MIT
message queue message bus