{"id":16809671,"url":"https://github.com/prooph/psb-enqueue-producer","last_synced_at":"2025-03-22T02:31:53.239Z","repository":{"id":55010670,"uuid":"95893930","full_name":"prooph/psb-enqueue-producer","owner":"prooph","description":"Enqueue Producer for Prooph Service Bus http://getprooph.org","archived":false,"fork":false,"pushed_at":"2021-01-15T14:05:08.000Z","size":79,"stargazers_count":10,"open_issues_count":1,"forks_count":8,"subscribers_count":7,"default_branch":"master","last_synced_at":"2024-10-14T10:15:36.043Z","etag":null,"topics":["enqueue","php","php7","prooph","prooph-service-bus"],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/prooph.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-06-30T14:04:05.000Z","updated_at":"2022-02-12T07:32:37.000Z","dependencies_parsed_at":"2022-08-14T09:00:47.882Z","dependency_job_id":null,"html_url":"https://github.com/prooph/psb-enqueue-producer","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prooph%2Fpsb-enqueue-producer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prooph%2Fpsb-enqueue-producer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prooph%2Fpsb-enqueue-producer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prooph%2Fpsb-enqueue-producer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/prooph","download_url":"https://codeload.github.com/prooph/psb-enqueue-producer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221821400,"owners_count":16886314,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["enqueue","php","php7","prooph","prooph-service-bus"],"created_at":"2024-10-13T10:13:32.671Z","updated_at":"2024-10-28T11:35:27.624Z","avatar_url":"https://github.com/prooph.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"Enqueue Message Producer for Prooph Service Bus\n===============================================\n\nUse [Enqueue](https://github.com/php-enqueue/enqueue-dev) as a message producer for [Prooph Service Bus](https://github.com/prooph/service-bus).\n\n## Important\n\nThis library will receive support until December 31, 2019 and will then be deprecated.\n\nFor further information see the official announcement here: [https://www.sasaprolic.com/2018/08/the-future-of-prooph-components.html](https://www.sasaprolic.com/2018/08/the-future-of-prooph-components.html)\n\n## Installation\n\nYou can install the producer via composer by executing `$ composer require prooph/psb-enqueue-producer`.\n\n## Usage\n\nCheck the [EnqueueMessageProducerTest](tests/Functional/EnqueueMessageProducerTest.php). Set up the producer is a straightforward task. Most of\nthe required components are provided by PSB and Enqueue. This package only provides the glue code needed to let both\nsystems work together.\n\n## Why Enqueue producer\n\n* You choose a transport from [many supported ones](https://github.com/php-enqueue/enqueue-dev/tree/master/docs/transport).\n* Could be used from Symfony as well as plain PHP.\n* Supports delayed messages (if transport supports it).\n* Supports events, commands and queues with possibility to get result.\n* Simple and clean code. \n\n## Symfony configuration\n\nIf you're using the [EnqueueBundle](https://github.com/php-enqueue/enqueue-bundle) you can configure the classes from this package like this:\n\n```yaml\nservices:\n    Prooph\\ServiceBus\\Message\\Enqueue\\EnqueueSerializer:\n    Prooph\\ServiceBus\\Message\\Enqueue\\EnqueueMessageProducer:\n        $commandName: 'my_application'\n        $replyTimeout: 1000 # Timeout in milliseconds.\n    Prooph\\ServiceBus\\Message\\Enqueue\\EnqueueMessageProcessor:\n        tags:\n            - { name: 'enqueue.processor', command: 'my_application' }\n            # For enqueue 0.8 use this instead.\n            #- { name: 'enqueue.client.processor', topicName: '__command__', processorName: 'my_application' }\n```\n\nThen you can run the processor like this:\n\n```\nbin/console enqueue:consume --setup-broker -vvv\n```\n\nSee the [Enqueue documentation](https://github.com/php-enqueue/enqueue-dev/blob/master/docs/index.md) for more information.\n\n## Support\n\n- Ask questions on Stack Overflow tagged with [#prooph](https://stackoverflow.com/questions/tagged/prooph).\n- Ask enqueue questions in [enqueue](https://gitter.im/php-enqueue/Lobby) gitter chat.\n- File issues at [https://github.com/prooph/psb-enqueue-producer/issues](https://github.com/prooph/psb-enqueue-producer/issues).\n- Say hello in the [prooph gitter](https://gitter.im/prooph/improoph) chat.\n\n## License\n\nIt is released under the [MIT License](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprooph%2Fpsb-enqueue-producer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprooph%2Fpsb-enqueue-producer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprooph%2Fpsb-enqueue-producer/lists"}