gepur-it / rabbitmq-bundle
RabbitMQ connection bundle
Installs: 16 436
Dependents: 5
Suggesters: 0
Security: 0
Stars: 2
Watchers: 3
Forks: 0
Open Issues: 0
Type:symfony-bundle
Requires
- php: ^7.4|^8.0
- ext-amqp: *
- symfony/config: ^5.0
- symfony/dependency-injection: ^5.0
- symfony/http-kernel: ^5.0
- symfony/yaml: ^5.0
Requires (Dev)
- vimeo/psalm: ^3.4
This package is auto-updated.
Last update: 2024-10-29 05:41:04 UTC
README
Before composer require:
- Create yaml config file "rabbit_mq.yaml":
rabbit_mq:
default_connection: default
connections:
default:
host: '%env(RABBITMQ_HOST)%'
port: '%env(RABBITMQ_PORT)%'
login: '%env(RABBITMQ_LOGIN)%'
password: '%env(RABBITMQ_PASS)%'
vhost: '%env(RABBITMQ_VHOST)%'
- Config your .env:
RABBITMQ_HOST=127.0.0.1
RABBITMQ_PORT=5672
RABBITMQ_LOGIN=guest
RABBITMQ_PASS=guest
RABBITMQ_VHOST=/