https://github.com/imponeer/queue-interop-connection-factory-helper
Helper that creates queue-interop connection factory based on DSN
https://github.com/imponeer/queue-interop-connection-factory-helper
factory hacktoberfest helper queue-interop
Last synced: 3 months ago
JSON representation
Helper that creates queue-interop connection factory based on DSN
- Host: GitHub
- URL: https://github.com/imponeer/queue-interop-connection-factory-helper
- Owner: imponeer
- License: mit
- Created: 2019-05-25T20:47:34.000Z (about 6 years ago)
- Default Branch: main
- Last Pushed: 2024-08-01T03:58:04.000Z (11 months ago)
- Last Synced: 2024-08-01T06:13:00.900Z (11 months ago)
- Topics: factory, hacktoberfest, helper, queue-interop
- Language: PHP
- Homepage:
- Size: 87.9 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](LICENSE) [](https://github.com/imponeer/queue-interop-connection-factory-helper/releases) [](https://packagist.org/packages/imponeer/queue-interop-connection-factory-helper)
# Queue-Interop Connection Factory Helper
Helper that creates [queue-interop](https://github.com/queue-interop/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](https://www.amqp.org) | amqp | [enqueue/amqp-ext](https://github.com/php-enqueue/enqueue-dev/tree/master/docs/transport/amqp.md)
[enqueue/amqp-lib](https://github.com/php-enqueue/enqueue-dev/tree/master/docs/transport/amqp_lib.md)
[enqueue/amqp-bunny](https://github.com/php-enqueue/enqueue-dev/tree/master/docs/transport/amqp_bunny.md) |
| [Beanstalk](https://beanstalkd.github.io) | beanstalk | [enqueue/pheanstalk](https://github.com/php-enqueue/enqueue-dev/tree/master/docs/transport/pheanstalk.md) |
| [Stomp](https://stomp.github.io) | stomp | [enqueue/stomp](https://github.com/php-enqueue/enqueue-dev/tree/master/docs/transport/stomp.md) |
| [Amazon Simple Queue Service (SQS)](https://aws.amazon.com/sqs/) | sqs | [enqueue/sqs](https://github.com/php-enqueue/enqueue-dev/tree/master/docs/transport/sqs.md) |
| [Google PubSub](https://cloud.google.com/pubsub/docs/overview) | gps | [enqueue/gps](https://github.com/php-enqueue/enqueue-dev/tree/master/docs/transport/gps.md) |
| [Apache Kafka](https://kafka.apache.org) | kafka | [enqueue/rdkafka](https://github.com/php-enqueue/enqueue-dev/tree/master/docs/transport/kafka.md) |
| [Redis](https://redis.io) | redis | [enqueue/redis](https://github.com/php-enqueue/enqueue-dev/tree/master/docs/transport/redis.md) |
| [MongoDB](https://www.mongodb.com) | mongodb | [enqueue/mongodb](https://github.com/php-enqueue/enqueue-dev/blob/master/docs/transport/mongodb.md) |
| [Gearman](http://gearman.org) | gearman | [enqueue/gearman](https://github.com/php-enqueue/enqueue-dev/tree/master/docs/transport/gearman.md) |
| [MySQL](https://www.mysql.com) | mysql | [enqueue/dbal](https://github.com/php-enqueue/enqueue-dev/tree/master/docs/transport/dbal.md) |
| File | file | [enqueue/fs](https://github.com/php-enqueue/enqueue-dev/tree/master/docs/transport/filesystem.md) |
| Null | null | [enqueue/null](https://github.com/php-enqueue/enqueue-dev/tree/master/docs/transport/null.md) |
| [Wamp](https://wamp-proto.org) | wamp
ws | [enqueue/wamp](https://github.com/php-enqueue/enqueue-dev/tree/master/docs/transport/wamp.md) |## Example
```php
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](https://skills.github.com).
If you found any bug or have some questions, use [issues tab](https://github.com/imponeer/queue-interop-connection-factory-helper/issues) and write there your questions.