carlonicora / minimalism-service-rabbitmq
RabbitMQ service for minimalism
Requires
- php: >=8.1
- ext-json: *
- ext-sockets: *
- carlonicora/minimalism: ~13.0
- php-amqplib/php-amqplib: ~3.1
This package is auto-updated.
Last update: 2024-12-19 16:30:22 UTC
README
minimalism-service-rabbitmq is a service for minimalism to send messages to rabbitMQ and retrieve them
Getting Started
To use this library, you need to have an application using minimalism. This library does not work outside this scope.
Prerequisite
You should have read the minimalism documentation and understand the concepts of services in the framework.
Installing
Require this package, with Composer, in the root directory of your project.
$ composer require carlonicora/minimalism-service-rabbitmq
or simply add the requirement in composer.json
{ "require": { "carlonicora/minimalism-service-rabbitmq": "~1.0" } }
Deployment
This service requires you to set up two parameters in your .env
file in order to manage queue messages
Required parameters
#defines the name of the queue messages are sent to or retrieved from MINIMALISM_SERVICE_RABBITMQ_QUEUE_NAME= #defines the connection ot rabbitMQ MINIMALISM_SERVICE_RABBITMQ=host,port,user,password
Build With
- minimalism - minimal modular PHP MVC framework
- php-amqplib
Versioning
This project use Semantiv Versioning for its tags.
Authors
License
This project is licensed under the MIT license - see the LICENSE.md file for details