souktel / message-broker
Manage Message Broker communication
2.1.1
2020-01-19 09:43 UTC
Requires
- php: ^7.1.3
- bschmitt/laravel-amqp: ^2.0
README
About Souktel
- Website: souktel.com.
- LinkedIn: Souktel.
- Facebook: Souktel Digital Solutions.
- Twitter: Souktel.
About The Project
implementation of Message Broker to support communication between microservices through messages
Installation
composer require souktel/message-broker
In Laravel:
- publish config and migrations files from vendor
php artisan vendor:publish --provider="Souktel\MessageBroker\SouktelMessageBrokerServiceProvider"
In Lumen:
- copy config file from vendor
- copy migration files from vendor
configuration
in config file
variable | description |
---|---|
enable | (boolean) if false then MessageBroker will be fake instance |
database | if enable = true, all published messages will be stored in database. you can change tables name before run migration command. |
log | if enable = true, there will be some output logs through channel name in config file |
settings | Message Broker settings |