PHPackages                             twipi-group/googlecloud-pubsub-laravel-queue-driver - 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. twipi-group/googlecloud-pubsub-laravel-queue-driver

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

twipi-group/googlecloud-pubsub-laravel-queue-driver
===================================================

Google Cloud PubSub driver for Laravel/Lumen Queue.

1.1.0(6y ago)12023MITPHPPHP ~7.2CI failing

Since May 6Pushed 6y ago1 watchersCompare

[ Source](https://github.com/twipi-group/googlecloud-pubsub-laravel-queue-driver)[ Packagist](https://packagist.org/packages/twipi-group/googlecloud-pubsub-laravel-queue-driver)[ RSS](/packages/twipi-group-googlecloud-pubsub-laravel-queue-driver/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (4)Dependencies (9)Versions (5)Used By (0)

googlecloud-pubsub-php-adapter
==============================

[](#googlecloud-pubsub-php-adapter)

A Google Cloud PubSub driver for Laravel/Lumen Queue.

[![CI](https://github.com/twipi-group/googlecloud-pubsub-laravel-queue-driver/workflows/CI/badge.svg)](https://github.com/twipi-group/googlecloud-pubsub-laravel-queue-driver/workflows/CI/badge.svg)[![Minimum PHP Version](https://camo.githubusercontent.com/7a09b828563f7738e2e72ec4aade8144538bf5d41e1e2e718815c57e3416089f/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d253345253344253230372e312d3838393242462e7376673f7374796c653d666c6174)](https://www.php.net/manual/fr/migration71.new-features.php)[![Software License](https://camo.githubusercontent.com/ef5b59ada4f12bb5a3dc4f948e83be4f8914189d6b2fb526869160e586f49e69/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d677265656e2e7376673f7374796c653d666c6174)](LICENSE)

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

[](#installation)

You can easily install this package via [Composer](https://getcomposer.org) using this command:

```
composer require twipi-group/googlecloud-pubsub-laravel-queue-driver
```

### Laravel

[](#laravel)

Register this package by adding the following line to the autoloaded service providers of your `config/app.php` file:

```
TwipiGroup\GoogleCloudPubSubLaravelQueueDriver\GcServiceProviderQueue::class,
```

### Lumen

[](#lumen)

For Lumen usage, the service provider should be registered manually as follow in your `boostrap/app.php` file:

```
$app->configure('queue');
$app->register(TwipiGroup\GoogleCloudPubSubLaravelQueueDriver\GcServiceProviderQueue::class);
```

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

[](#configuration)

Add new connection named `gcpubsub` to your `config/queue.php` file. You can customize the following options directly from your `.env` file.

```
'gcpubsub' => [
    'driver' => 'gcpubsub',
    'project_id' => env('PUBSUB_PROJECT_ID', 'google-cloud-project-id'), // Google cloud project id
    'queue' => env('PUBSUB_QUEUE_DEFAULT', 'default'), // Default queue name corresponding to the gc pubsub topic
    'topic_suffix' => env('PUBSUB_TOPIC_SUFFIX', ''),
    'subscriber_suffix' => env('PUBSUB_SUBSCRIBER_SUFFIX', ''),
    'max_tries' => env('PUBSUB_JOB_MAX_TRIES', 1), // Number of times the job may be attempted.
    'retry_delay' => env('PUBSUB_JOB_RETRY_DELAY', 0), // Delay in seconds before retrying a job that has failed
],
```

Running The Queue Worker
------------------------

[](#running-the-queue-worker)

You may run the worker using the queue:work Artisan command. ([Laravel documentation](https://github.com/twipi-group/googlecloud-pubsub-laravel-queue-driver/workflows/CI/badge.svg))

```
php artisan queue:work gcpubsub [--queue=myqueue]

```

When `APP_DEBUG=true` in your `.env` file, you can check google cloud subscribers from the queue worker output.

Tests
-----

[](#tests)

```
vendor/bin/phpunit tests

```

Contribution
------------

[](#contribution)

You can contribute to this package by discovering bugs, opening issues or purpose new features.

Licence
-------

[](#licence)

This project is licensed under the terms of the MIT license. See License file for more information.

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~4 days

Total

3

Last Release

2242d ago

PHP version history (2 changes)1.0.0PHP ~7.1

1.0.2PHP ~7.2

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/7486438?v=4)[missill](/maintainers/missill)[@missill](https://github.com/missill)

---

Top Contributors

[![missill](https://avatars.githubusercontent.com/u/7486438?v=4)](https://github.com/missill "missill (3 commits)")

---

Tags

laravelgooglelumenqueuepubsubgcptwipi-group

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/twipi-group-googlecloud-pubsub-laravel-queue-driver/health.svg)

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

###  Alternatives

[laravel/horizon

Dashboard and code-driven configuration for Laravel queues.

4.2k95.4M306](/packages/laravel-horizon)[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9762.4M131](/packages/roots-acorn)[kainxspirits/laravel-pubsub-queue

Queue driver for Google Cloud Pub/Sub.

48414.4k3](/packages/kainxspirits-laravel-pubsub-queue)[illuminate/queue

The Illuminate Queue package.

21332.6M1.6k](/packages/illuminate-queue)[directorytree/ldaprecord-laravel

LDAP Authentication &amp; Management for Laravel.

5752.3M18](/packages/directorytree-ldaprecord-laravel)[harris21/laravel-fuse

Circuit breaker for Laravel queue jobs. Protect your workers from cascading failures.

44855.7k](/packages/harris21-laravel-fuse)

PHPackages © 2026

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