This package is not installable via Composer 1.x, please make sure you upgrade to Composer 2+. Read more about our Composer 1.x deprecation policy.

Queue Driver for Google Cloud Pub/Sub.

v0.2.0 2019-01-08 01:24 UTC

This package is not auto-updated.

Last update: 2021-11-24 14:33:13 UTC


Travis StyleCI

This package is a Laravel 5.7 queue driver that use the Google PubSub service.


You can easily install this package with Composer by running this command :

composer require lolibrary/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 :



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 for more details about the different options.

'pubsub' => [
    'driver' => 'pubsub',
    'queue' => env('PUBSUB_QUEUE', 'default'),
    'project_id' => env('PUBSUB_PROJECT_ID', 'your-project-id'),
    'retries' => 3,
    'request_timeout' => 60


You can run the tests with :



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