imponeer/queue-interop-connection-factory-helper

Helper that creates queue-interop connection factory based on DSN

v0.1.10 2024-04-01 03:30 UTC

This package is auto-updated.

Last update: 2024-04-07 04:25:03 UTC


README

License GitHub release Packagist

Queue-Interop Connection Factory Helper

Helper that creates queue-interop connection factory from DSN string.

Instalation

composer require imponeer/queue-interop-connection-factory-helper

Supported queue-interop libraries

If you want to use specific transport you must also include related library in your project

Transport Prefix Library
AMQP amqp enqueue/amqp-ext
enqueue/amqp-lib
enqueue/amqp-bunny
Beanstalk beanstalk enqueue/pheanstalk
Stomp stomp enqueue/stomp
Amazon Simple Queue Service (SQS) sqs enqueue/sqs
Google PubSub gps enqueue/gps
Apache Kafka kafka enqueue/rdkafka
Redis redis enqueue/redis
MongoDB mongodb enqueue/mongodb
Gearman gearman enqueue/gearman
MySQL mysql enqueue/dbal
File file enqueue/fs
Null null enqueue/null
Wamp wamp
ws
enqueue/wamp

Example

use Imponeer\QueueInteropConnectionFactoryHelper;

$context = QueueInteropConnectionFactoryHelper::createContext('file:');

How to contribute?

If you want to add some functionality or fix bugs, you can fork, change and create pull request. If you not sure how this works, try interactive GitHub tutorial.

If you found any bug or have some questions, use issues tab and write there your questions.