cedricziel / symfony-messenger-pubsub-bundle
Symfony Messenger Bundle adding Google Cloud Pub/Sub support
Fund package maintenance!
cedricziel
Installs: 121
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 3
Forks: 1
Open Issues: 1
Type:symfony-bundle
Requires
- php: >=7.2.5
- cedricziel/messenger-pubsub: 1.0.x-dev
- psr/log: ^1.0
- symfony/config: ^4.4|^5.0
- symfony/dependency-injection: ^4.4|^5.0
- symfony/framework-bundle: ^4.4|^5.0
- symfony/http-foundation: ^4.4|^5.0
- symfony/http-kernel: ^5.0
- symfony/messenger: ^5.0
- symfony/serializer: ^4.4|^5.0
Requires (Dev)
- symfony/browser-kit: ^4.4 || ^5.0
- symfony/phpunit-bridge: ^4.4 || ^5.0
- symfony/yaml: ^4.4 || ^5.0
This package is auto-updated.
Last update: 2024-11-22 21:41:32 UTC
README
This bundle wires cedricziel/messenger-pubsub
in a Symfony application.
It enables working Pub/Sub messages through the CLI and via push to an HTTP endpoint.
Installation
composer require cedricziel/symfony-messenger-pubsub-bundle
Configuration
Configure your Symfony Messenger by supplying a valid DSN using the pubsub
scheme.
MESSENGER_TRANSPORT_DSN=pubsub://my-google-cloud-project/my-pubsub-topic?subscription=my-subscription
Activate the push routes:
_pubsub_push: resource: '@GoogleCloudPubSubMessengerBundle/Resources/config/routes.xml' prefix: /
License
MIT