PHPackages                             phhuy38/ci4-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. phhuy38/ci4-queue

ActiveLibrary

phhuy38/ci4-queue
=================

Queues for CodeIgniter 4 framework

00PHP

Since Feb 26Pushed 2y agoCompare

[ Source](https://github.com/phhuy38/ci4-queue)[ Packagist](https://packagist.org/packages/phhuy38/ci4-queue)[ RSS](/packages/phhuy38-ci4-queue/feed)WikiDiscussions develop Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

CodeIgniter Queue
=================

[](#codeigniter-queue)

Queues for the CodeIgniter 4 framework.

[![PHPUnit](https://github.com/codeigniter4/queue/actions/workflows/phpunit.yml/badge.svg)](https://github.com/codeigniter4/queue/actions/workflows/phpunit.yml)[![PHPStan](https://github.com/codeigniter4/queue/actions/workflows/phpstan.yml/badge.svg)](https://github.com/codeigniter4/queue/actions/workflows/phpstan.yml)[![Deptrac](https://github.com/codeigniter4/queue/actions/workflows/deptrac.yml/badge.svg)](https://github.com/codeigniter4/queue/actions/workflows/deptrac.yml)[![Coverage Status](https://camo.githubusercontent.com/340b765a434782eff6c435d3dd0d776d85ee4c4a08fab997a69bf78c2887e0ef/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f636f646569676e69746572342f71756575652f62616467652e7376673f6272616e63683d646576656c6f70)](https://coveralls.io/github/codeigniter4/queue?branch=develop)

[![PHP](https://camo.githubusercontent.com/d6aac44f81cb2e6f4e71f098a1cb4a71992f24f7bfb424f6670db8313c9a855c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d253545382e312d626c7565)](https://camo.githubusercontent.com/d6aac44f81cb2e6f4e71f098a1cb4a71992f24f7bfb424f6670db8313c9a855c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d253545382e312d626c7565)[![CodeIgniter](https://camo.githubusercontent.com/8867c0cb2bfb4e11f527658f45d11bea936efb5a06e66b10e576912cf40874e5/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f436f646549676e697465722d253545342e332d626c7565)](https://camo.githubusercontent.com/8867c0cb2bfb4e11f527658f45d11bea936efb5a06e66b10e576912cf40874e5/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f436f646549676e697465722d253545342e332d626c7565)[![License](https://camo.githubusercontent.com/d6bc2b26794002c24d023acaab01b6dbb953c57ab9cb80ba5b8aa2f2bd5de99a/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d626c7565)](https://camo.githubusercontent.com/d6bc2b26794002c24d023acaab01b6dbb953c57ab9cb80ba5b8aa2f2bd5de99a/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d626c7565)

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

[](#installation)

```
composer require codeigniter4/queue

```

Migrate your database:

```
php spark migrate --all

```

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

[](#configuration)

Publish configuration file:

```
php spark queue:publish

```

Create your first Job:

```
php spark queue:job Example

```

Add it to the `$jobHandlers` array in the `app\Config\Queue.php` file:

```
// ...

use App\Jobs\Example;

// ...

public array $jobHandlers = [
    'my-example' => Example::class
];

// ...
```

Basic usage
-----------

[](#basic-usage)

Add job to the queue:

```
service('queue')->push('queueName', 'my-example', ['data' => 'array']);
```

Run the queue worker:

```
php spark queue:work queueName

```

Docs
----

[](#docs)

Read the full documentation:

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

[](#contributing)

We accept and encourage contributions from the community in any shape. It doesn't matter whether you can code, write documentation, or help find bugs, all contributions are welcome. See the [CONTRIBUTING.md](CONTRIBUTING.md) file for details.

###  Health Score

12

—

LowBetter than 0% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity0

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity19

Early-stage or recently created project

 Bus Factor1

Top contributor holds 81.2% 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/45e2c68d297563483c86eeb624b7571fe1117235a3becfb746c8484dfa4e304c?d=identicon)[huyph](/maintainers/huyph)

---

Top Contributors

[![michalsn](https://avatars.githubusercontent.com/u/459185?v=4)](https://github.com/michalsn "michalsn (95 commits)")[![kenjis](https://avatars.githubusercontent.com/u/87955?v=4)](https://github.com/kenjis "kenjis (17 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (3 commits)")[![lonnieezell](https://avatars.githubusercontent.com/u/51931?v=4)](https://github.com/lonnieezell "lonnieezell (1 commits)")[![phhuy38](https://avatars.githubusercontent.com/u/18114441?v=4)](https://github.com/phhuy38 "phhuy38 (1 commits)")

### Embed Badge

![Health badge](/badges/phhuy38-ci4-queue/health.svg)

```
[![Health](https://phpackages.com/badges/phhuy38-ci4-queue/health.svg)](https://phpackages.com/packages/phhuy38-ci4-queue)
```

PHPackages © 2026

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