alpust / zf2-rabbitmq-eventbus-module
Zend 2 event bus module using rabbitmq
dev-master
2021-02-19 12:43 UTC
Requires
- php: >=5.3.3
- ext-amqp: >=1.4.0
- zendframework/zend-console: >=2.2
- zendframework/zend-modulemanager: >=2.2
- zendframework/zend-mvc: >=2.2
- zendframework/zend-servicemanager: >=2.2
- zendframework/zend-stdlib: >=2.2
Requires (Dev)
- pdezwart/php-amqp: dev-master
This package is not auto-updated.
Last update: 2024-10-26 19:37:53 UTC
README
-
Install server
sudo apt-get install rabbitmq-server
-
Install amqp lib
sudo apt-get install librabbitmq-dev librabbitmq1
or
git clone git://github.com/alanxz/rabbitmq-c.git
cd rabbitmq-c
# Enable and update the codegen git submodule
git submodule init
git submodule update
# Configure, compile and install
autoreconf -i && ./configure && make && sudo make install
-
Install and enable php amqp extension
pecl install amqp
-
Require this vendor in your
composer.json
, makecomposer update
and addEventBus
inapplication.config.php
in modules.
Configuration
Copy src/EventBus/PortAdapter/ZF2/config/amqp.local.php.dist
from vendor to your
config/autoload
and rename it to amqp.local.php
. Then change settings if necessary.
Usage
Will be there soon...