PHPackages                             tradecoverexchange/google-cloud-tasks-laravel - 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. tradecoverexchange/google-cloud-tasks-laravel

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

tradecoverexchange/google-cloud-tasks-laravel
=============================================

A Laravel Queue driver to interact with Google Cloud Tasks

v0.5.0(4y ago)27.1k2MITPHPPHP ^7.3|^8.0

Since Aug 18Pushed 3y ago2 watchersCompare

[ Source](https://github.com/tradecoverexchange/google-cloud-tasks-laravel)[ Packagist](https://packagist.org/packages/tradecoverexchange/google-cloud-tasks-laravel)[ Docs](https://github.com/tradecoverexchange/google-cloud-tasks-laravel)[ RSS](/packages/tradecoverexchange-google-cloud-tasks-laravel/feed)WikiDiscussions main Synced 2d ago

READMEChangelog (3)Dependencies (15)Versions (10)Used By (0)

Google Cloud Tasks Queue Driver for Laravel
===========================================

[](#google-cloud-tasks-queue-driver-for-laravel)

[![Latest Version on Packagist](https://camo.githubusercontent.com/19b0783c4ca576ab46b8049be44188d9f662127169041613f62596851401de1f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7472616465636f76657265786368616e67652f676f6f676c652d636c6f75642d7461736b732d6c61726176656c2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/tradecoverexchange/google-cloud-tasks-laravel)[![GitHub Tests Action Status](https://camo.githubusercontent.com/b579b142dc685d5540e0298127ae2eb8971aba258591be08c6d96b8e372bcd55/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f7472616465636f76657265786368616e67652f676f6f676c652d636c6f75642d7461736b732d6c61726176656c2f72756e2d74657374733f6c6162656c3d7465737473)](https://github.com/tradecoverexchange/google-cloud-tasks-laravel/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/2792b74c90a32c36442f352192eca9814dd31c646aa77ed9af06fd98cc8b2a3e/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f7472616465636f76657265786368616e67652f676f6f676c652d636c6f75642d7461736b732d6c61726176656c2f436865636b253230262532306669782532307374796c696e673f6c6162656c3d636f64652532307374796c65)](https://github.com/tradecoverexchange/google-cloud-tasks-laravel/actions?query=workflow%3A%22Check+%26+fix+styling%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/c3f20c8cd07c47c17ab3c5b136086d145a477b9eb8b54b0dd458a8cc7329ded6/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7472616465636f76657265786368616e67652f676f6f676c652d636c6f75642d7461736b732d6c61726176656c2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/tradecoverexchange/google-cloud-tasks-laravel)

A Laravel Queue driver to interact with [Google Cloud Tasks](https://cloud.google.com/tasks).

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

[](#installation)

Requires Laravel 9 and PHP 8.1 as a minimum.

You can install the package via composer:

```
composer require tradecoverexchange/google-cloud-tasks-laravel
```

You can publish an overriding queue config file with:

```
php artisan vendor:publish --provider="TradeCoverExchange\GoogleCloudTaskLaravel\CloudTaskServiceProvider" --tag cloud-task-config --force
```

Or you can manually add the two following connections to your own `queues.php` config file:

```
return [
    'connections' => [
        'app_engine_tasks' => [
            'driver' => 'google_app_engine_cloud_tasks',
            'queue' => env('GOOGLE_CLOUD_TASKS_QUEUE', 'default'),
            'project_id' => env('GOOGLE_CLOUD_TASKS_PROJECT_ID', ''),
            'location' => env('GOOGLE_CLOUD_TASKS_LOCATION_ID', ''),
            'options' => [
                'credentials' => 'path/to/your/keyfile',
                'transport' => 'rest',
            ],
        ],

        'http_cloud_tasks' => [
            'driver' => 'google_http_cloud_tasks',
            'queue' => env('GOOGLE_CLOUD_TASKS_QUEUE', 'default'),
            'project_id' => env('GOOGLE_CLOUD_TASKS_PROJECT_ID', ''),
            'location' => env('GOOGLE_CLOUD_TASKS_LOCATION_ID', ''),
            'authentication' => [
                'token_type' => 'oidc',
                'service_account' => env('GOOGLE_CLOUD_TASKS_SERVICE_ACCOUNT', ''),
            ],
            'options' => [
                'credentials' => 'path/to/your/keyfile',
                'transport' => 'rest',
            ],
        ],
    ],
];
```

Usage
-----

[](#usage)

Usage of the package should primarily be done via the [Laravel Queue](https://laravel.com/docs/7.x/queues) system.

Missing Features
----------------

[](#missing-features)

There is no ability to configure the worker options in the same way as a typical queue connection in Laravel.

For Http Tasks only the OIDC token type has been implemented for protecting the controller from fraudulent requests. We don't use OAuth ourselves but would be happy to include if someone makes a PR for it or knows how that mechanism should work compared to OIDC.

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

About Us
--------

[](#about-us)

[![Trade Cover Exchange](https://camo.githubusercontent.com/dfbcb8361eabcb437d0ba986df933e6ca9c4489d7b6d2bda44bd7d490d2d9ce8/68747470733a2f2f6173736574732e7472616465636f76657265786368616e67652e636f6d2f6769746875622f5472616465436f76657245786368616e67655f5247425f4c6f676f5f4f75746c696e655f537461636b65642e706e67)](https://camo.githubusercontent.com/dfbcb8361eabcb437d0ba986df933e6ca9c4489d7b6d2bda44bd7d490d2d9ce8/68747470733a2f2f6173736574732e7472616465636f76657265786368616e67652e636f6d2f6769746875622f5472616465436f76657245786368616e67655f5247425f4c6f676f5f4f75746c696e655f537461636b65642e706e67)

[Trade Cover Exchange](https://tradecoverexchange.com) is a platform for insuring your trade with other companies, protecting you from instabilities in the supply chain.

We proudly use the Google Cloud platform for our service and hope to share more of our work with the developer community in the future.

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Peter Fox](https://github.com/peterfox)
- [Kees van Bemmel](https://github.com/kees-tce)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity55

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 ~133 days

Recently: every ~160 days

Total

6

Last Release

1425d ago

Major Versions

v0.5.0 → v1.0.0-alpha2022-06-18

PHP version history (3 changes)v0.1.0PHP ^7.3

0.4.0PHP ^7.3|^8.0

v1.0.0-alphaPHP ^8.1

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/52702085?v=4)[Trade Cover Exchange](/maintainers/tradecoverexchange)[@tradecoverexchange](https://github.com/tradecoverexchange)

---

Top Contributors

[![peterfox](https://avatars.githubusercontent.com/u/1716506?v=4)](https://github.com/peterfox "peterfox (26 commits)")

---

Tags

laravelgoogle cloudtrade cover exchangegoogle cloud taskslaravel queue driver

###  Code Quality

TestsPest

### Embed Badge

![Health badge](/badges/tradecoverexchange-google-cloud-tasks-laravel/health.svg)

```
[![Health](https://phpackages.com/badges/tradecoverexchange-google-cloud-tasks-laravel/health.svg)](https://phpackages.com/packages/tradecoverexchange-google-cloud-tasks-laravel)
```

###  Alternatives

[lorisleiva/laravel-actions

Laravel components that take care of one specific task

2.8k7.5M115](/packages/lorisleiva-laravel-actions)[croustibat/filament-jobs-monitor

Background Jobs monitoring like Horizon for all drivers for FilamentPHP

254255.2k6](/packages/croustibat-filament-jobs-monitor)[stackkit/laravel-google-cloud-tasks-queue

Google Cloud Tasks queue driver for Laravel

84570.1k](/packages/stackkit-laravel-google-cloud-tasks-queue)[harris21/laravel-fuse

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

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

PHPackages © 2026

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