PHPackages                             digitalmanagerguru/laravel-pubsub-queue - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Queues &amp; Workers](/categories/queues)
4. /
5. digitalmanagerguru/laravel-pubsub-queue

ActiveLibrary[Queues &amp; Workers](/categories/queues)

digitalmanagerguru/laravel-pubsub-queue
=======================================

Queue driver for Google Cloud Pub/Sub.

2.0.0(1y ago)03.1k↓20%MITPHPPHP &gt;=8.1

Since Jan 30Pushed 1y agoCompare

[ Source](https://github.com/digitalmanagerguru/laravel-pubsub-queue)[ Packagist](https://packagist.org/packages/digitalmanagerguru/laravel-pubsub-queue)[ RSS](/packages/digitalmanagerguru-laravel-pubsub-queue/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)Dependencies (5)Versions (3)Used By (0)

Laravel PubSub Queue
====================

[](#laravel-pubsub-queue)

[![GitHub tag](https://camo.githubusercontent.com/3929396651d4b9082146efc5609a24387807fc14b158c0debb5312a90b65e060/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f7461672f6469676974616c6d616e61676572677572752f6c61726176656c2d7075627375622d71756575653f696e636c7564655f70726572656c65617365733d26736f72743d73656d76657226636f6c6f723d626c7565)](https://github.com/digitalmanagerguru/laravel-pubsub-queue/releases/)[![License](https://camo.githubusercontent.com/d6bc2b26794002c24d023acaab01b6dbb953c57ab9cb80ba5b8aa2f2bd5de99a/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d626c7565)](#license)[![issues - laravel-pubsub-queue](https://camo.githubusercontent.com/b1062b886e06289632ce390c77bf48326c47f4f65bc0d4c6c178af635e99911c/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732f6469676974616c6d616e61676572677572752f6c61726176656c2d7075627375622d7175657565)](https://github.com/digitalmanagerguru/laravel-pubsub-queue/issues)

This package is a Laravel queue driver that uses the [Google PubSub](https://github.com/GoogleCloudPlatform/google-cloud-php-pubsub) service.

Installation
------------

[](#installation)

You can easily install this package with [Composer](https://getcomposer.org) by running this command :

```
composer require digitalmanagerguru/laravel-pubsub-queue
```

If you disabled package discovery, you can still manually register this package by adding the following line to the providers of your `config/app.php` file :

```
Digitalmanagerguru\PubSubQueue\PubSubQueueServiceProvider::class,
```

Configuration
-------------

[](#configuration)

Add a `pubsub` connection to your `config/queue.php` file. From there, you can use any configuration values from the original pubsub client. Just make sure to use snake\_case for the keys name.

You can check [Google Cloud PubSub client](http://googleapis.github.io/google-cloud-php/#/docs/cloud-pubsub/master/pubsub/pubsubclient?method=__construct) for more details about the different options.

```
'pubsub' => [
    'driver' => 'pubsub',
    'queue' => env('PUBSUB_QUEUE', 'default'),
    'queue_prefix' => env('PUBSUB_QUEUE_PREFIX', ''),
    'project_id' => env('PUBSUB_PROJECT_ID', 'your-project-id'),
    'retrySettings' => [
        "maxRetries" => 3
    ],
    'request_timeout' => 60,
    'subscriber' => 'subscriber-name',
    'create_topics' => true,
    'create_subscriptions' => true,
],
```

Avoiding Administrator Operations Limits
----------------------------------------

[](#avoiding-administrator-operations-limits)

To avoid limit issues, change the `create_topics` and `create_subscriptions` flags to false.

Testing
-------

[](#testing)

You can run the tests with :

```
vendor/bin/phpunit
```

License
-------

[](#license)

This project is licensed under the terms of the MIT license. See [License File](LICENSE) for more information.

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance43

Moderate activity, may be stable

Popularity21

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 60.7% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~26 days

Total

2

Last Release

446d ago

Major Versions

1.0.0 → 2.0.02025-02-26

### Community

Maintainers

![](https://www.gravatar.com/avatar/83672fbc6b14f467ab53f557471717ff3929b0dfa01b4bc37ec42a769da0e068?d=identicon)[RicardoRodriguesGuru](/maintainers/RicardoRodriguesGuru)

---

Top Contributors

[![kainxspirits](https://avatars.githubusercontent.com/u/5594710?v=4)](https://github.com/kainxspirits "kainxspirits (37 commits)")[![RicardoRodriguesGuru](https://avatars.githubusercontent.com/u/57721219?v=4)](https://github.com/RicardoRodriguesGuru "RicardoRodriguesGuru (6 commits)")[![MRGAO-CR7](https://avatars.githubusercontent.com/u/22876157?v=4)](https://github.com/MRGAO-CR7 "MRGAO-CR7 (3 commits)")[![Jeckerson](https://avatars.githubusercontent.com/u/3289702?v=4)](https://github.com/Jeckerson "Jeckerson (2 commits)")[![laravel-shift](https://avatars.githubusercontent.com/u/15991828?v=4)](https://github.com/laravel-shift "laravel-shift (2 commits)")[![developerdino](https://avatars.githubusercontent.com/u/747501?v=4)](https://github.com/developerdino "developerdino (1 commits)")[![garbetjie](https://avatars.githubusercontent.com/u/254752?v=4)](https://github.com/garbetjie "garbetjie (1 commits)")[![goodevilgenius](https://avatars.githubusercontent.com/u/254662?v=4)](https://github.com/goodevilgenius "goodevilgenius (1 commits)")[![phroggyy](https://avatars.githubusercontent.com/u/7256451?v=4)](https://github.com/phroggyy "phroggyy (1 commits)")[![richan-fongdasen](https://avatars.githubusercontent.com/u/5222595?v=4)](https://github.com/richan-fongdasen "richan-fongdasen (1 commits)")[![aliozkan](https://avatars.githubusercontent.com/u/936116?v=4)](https://github.com/aliozkan "aliozkan (1 commits)")[![v8-ict](https://avatars.githubusercontent.com/u/29880593?v=4)](https://github.com/v8-ict "v8-ict (1 commits)")[![andreladocruz](https://avatars.githubusercontent.com/u/3315596?v=4)](https://github.com/andreladocruz "andreladocruz (1 commits)")[![andvla](https://avatars.githubusercontent.com/u/12616998?v=4)](https://github.com/andvla "andvla (1 commits)")[![CasperLaiTW](https://avatars.githubusercontent.com/u/5094008?v=4)](https://github.com/CasperLaiTW "CasperLaiTW (1 commits)")[![danny-dtcmedia](https://avatars.githubusercontent.com/u/72079777?v=4)](https://github.com/danny-dtcmedia "danny-dtcmedia (1 commits)")

---

Tags

laravelgooglequeuepubsubgcpkainxspiritsdigitalmanagerguru

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/digitalmanagerguru-laravel-pubsub-queue/health.svg)

```
[![Health](https://phpackages.com/badges/digitalmanagerguru-laravel-pubsub-queue/health.svg)](https://phpackages.com/packages/digitalmanagerguru-laravel-pubsub-queue)
```

###  Alternatives

[kainxspirits/laravel-pubsub-queue

Queue driver for Google Cloud Pub/Sub.

48381.1k3](/packages/kainxspirits-laravel-pubsub-queue)[laravel/horizon

Dashboard and code-driven configuration for Laravel queues.

4.2k84.2M225](/packages/laravel-horizon)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
