Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Messenger Pubsub Laravel Package

cedricziel/messenger-pubsub

Symfony Messenger transport bridge for Google Cloud Pub/Sub. Adds a pubsub:// transport via PubSubTransportFactory for publishing and consuming messages from Pub/Sub. Note: Pub/Sub doesn’t support delayed delivery, so DelayStamp is ignored.

View on GitHub
Deep Wiki
Context7

Symfony Messenger Bridge for Google Cloud Pub/Sub

Bridge Google Cloud Pub/Sub with the Symfony messenger component.

Note: Use cedricziel/symfony-messenger-pubsub-bundle for automatic wiring in your Symfony Framework application.

Installation

composer require cedricziel/messenger-pubsub

Usage

To use the pubsub transport, you would register the PubSubTransportFactory through the following configuration:

# config/services.yaml
services:
    CedricZiel\Symfony\Messenger\Bridge\GcpPubSub\Transport\PubSubTransportFactory:
        tags: [messenger.transport_factory]

Create a concrete transport:

# config/packages/messenger.yaml
framework:
    messenger:
        transports:
            my-pubsub: 'pubsub://...'

Notable

Google Cloud Pub/Sub does not support delaying messages, so a DelayStamp will have no effect.

License

MIT

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
nexmo/api-specification
capell-app/block-library
axium/identity
cetria/laravel-dummy-models
cetria/reflection-helper
agropredict/sso-auth-bundle
evolvestudio/spam-protection
datacore/hub-sdk
develia/commons
cuci/prototurk-sdk
cuci/prototurk-sdk-symfony
develia/geo-bundle
dreamzy/livewire-charts
touchestate-sdk/php-sdk
ecotone/kafka
22h/doctrine-garbage-collection-bundle
agtp/agtp-php
agtp/mod-php
splash/sonata-admin
splash/metadata