PHPackages                             ayles-software/laravel-cloudflare-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. ayles-software/laravel-cloudflare-queue

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

ayles-software/laravel-cloudflare-queue
=======================================

Cloudflare queue driver for laravel.

0.4.1(3w ago)63.4k↑707.1%1[1 issues](https://github.com/ayles-software/laravel-cloudflare-queue/issues)MITPHPPHP ^8.4

Since May 28Pushed 3w ago3 watchersCompare

[ Source](https://github.com/ayles-software/laravel-cloudflare-queue)[ Packagist](https://packagist.org/packages/ayles-software/laravel-cloudflare-queue)[ RSS](/packages/ayles-software-laravel-cloudflare-queue/feed)WikiDiscussions main Synced yesterday

READMEChangelog (2)Dependencies (6)Versions (7)Used By (0)

Laravel Cloudflare Queue
========================

[](#laravel-cloudflare-queue)

A Laravel queue driver for Cloudflare Queues. This is still a work in progress.

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

[](#configuration)

Add the following to your `config/queue.php` file:

```
'cloudflare' => [
    'driver' => 'cloudflare',
    'account_id'=> env('CLOUDFLARE_ACCOUNT_ID'),
    'queue_id'  => env('CLOUDFLARE_QUEUE_ID'),
    'api_token' => env('CLOUDFLARE_API_TOKEN'),
],
```

If are using CF workers and pushing raw jobs, you can set a raw handler that will be used to process the raw job:

```
'cloudflare' => [
    'driver' => 'cloudflare',
    'raw_handler' => CloudflareRawJobHandler::class,
    'account_id'=> env('CLOUDFLARE_ACCOUNT_ID'),
    'queue_id'  => env('CLOUDFLARE_QUEUE_ID'),
    'api_token' => env('CLOUDFLARE_API_TOKEN'),
],
```

Example of a raw CF job:

```
class WebhookEmailEvent implements ShouldQueue
{
    use Dispatchable, InteractsWithQueue, Queueable, SerializesModels;

    public function __construct(public readonly array $data)
    {
        //
    }

    public function handle()
    {
        // do something
    }
}
```

Example of pushing a raw CF job to a Queue using JS:

```
export default {
    async fetch(request, env, context) {
        await env.MY_QUEUE.send({
            food: "lemons",
        });

        return new Response('Ok');
    }
}
```

Testing
-------

[](#testing)

This package includes a comprehensive test suite using [Pest PHP](https://pestphp.com/). To run the tests:

1. Install dependencies:

    ```
    composer install
    ```
2. Run the tests:

    ```
    ./vendor/bin/pest
    ```

###  Health Score

48

—

FairBetter than 93% of packages

Maintenance91

Actively maintained with recent releases

Popularity29

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity49

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

Total

6

Last Release

26d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/44064852e6895bec4fa6330fd0d6d2b3a1b2d8b3466f12ef717a2bf94c8fdfe0?d=identicon)[parkourben99](/maintainers/parkourben99)

---

Top Contributors

[![parkourben99](https://avatars.githubusercontent.com/u/7295774?v=4)](https://github.com/parkourben99 "parkourben99 (15 commits)")

###  Code Quality

TestsPest

### Embed Badge

![Health badge](/badges/ayles-software-laravel-cloudflare-queue/health.svg)

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

###  Alternatives

[backpack/crud

Quickly build admin interfaces using Laravel, Bootstrap and JavaScript.

3.4k3.7M223](/packages/backpack-crud)[unopim/unopim

UnoPim Laravel PIM

10.5k2.4k](/packages/unopim-unopim)[statamic-rad-pack/runway

Eloquently manage your database models in Statamic.

135224.7k7](/packages/statamic-rad-pack-runway)[api-platform/laravel

API Platform support for Laravel

58171.4k14](/packages/api-platform-laravel)[ecotone/laravel

Ecotone for Laravel — CQRS, Event Sourcing, Sagas, Durable Workflows, and Outbox on top of Laravel Queue, via PHP attributes.

21318.6k3](/packages/ecotone-laravel)[duncanmcclean/statamic-cargo

Comprehensive e-commerce addon for Statamic. Build bespoke e-commerce sites without the complexity.

3416.7k](/packages/duncanmcclean-statamic-cargo)

PHPackages © 2026

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