PHPackages                             wandu/q - 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. wandu/q

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

wandu/q
=======

Very Simple Queue.

v3.0.4(9y ago)22.8kMITPHPPHP &gt;=5.6

Since Dec 23Pushed 8y ago1 watchersCompare

[ Source](https://github.com/Wandu/Q)[ Packagist](https://packagist.org/packages/wandu/q)[ RSS](/packages/wandu-q/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (19)Used By (0)

Wandu Q
=======

[](#wandu-q)

[![Latest Stable Version](https://camo.githubusercontent.com/48a816c011458e616c5fb744c580f19b6e2dd9388462b985b4bcd0078f4425ca/68747470733a2f2f706f7365722e707567782e6f72672f77616e64752f712f762f737461626c652e737667)](https://packagist.org/packages/wandu/q)[![Latest Unstable Version](https://camo.githubusercontent.com/03f3470cd0e3a0a08a923df47da3cb8819cc535907900945ed0d8e3d866215e7/68747470733a2f2f706f7365722e707567782e6f72672f77616e64752f712f762f756e737461626c652e737667)](https://packagist.org/packages/wandu/q)[![Total Downloads](https://camo.githubusercontent.com/0bb8273f8af855f17461c65882021b09c6bcfb26c07cbc4d916da55e1e6fdbeb/68747470733a2f2f706f7365722e707567782e6f72672f77616e64752f712f646f776e6c6f6164732e737667)](https://packagist.org/packages/wandu/q)[![License](https://camo.githubusercontent.com/951614149035b969986d1835beba2dbb63240bb6600217c6ca0be85cfc1ddfa6/68747470733a2f2f706f7365722e707567782e6f72672f77616e64752f712f6c6963656e73652e737667)](https://packagist.org/packages/wandu/q)

Very Simple Queue.

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

[](#installation)

```
composer require wandu/q
```

Usage
-----

[](#usage)

**Sender**

```
use Wandu\Q\Adapter\SqsAdapter;
use Wandu\Q\Queue;
use Wandu\Q\Serializer\JsonSerializer;

$sender = new Queue(new JsonSerializer(), new SqsAdapter(
    'xxxxxxxxxxxx', // key
    'xxxxxxxxxxxx', // secret
    'ap-northeast-1', // region
    'https://sqs.ap-northeast-1.amazonaws.com/000000000000/queue-name' // queue url
));
$sender->enqueue([
    'body' => 'kkk',
    '333' => 'halelleknflaksdf',
]);
```

**Receiver**

```
use Wandu\Q\Adapter\SqsAdapter;
use Wandu\Q\Queue;
use Wandu\Q\Serializer\JsonSerializer;

$sender = new Queue(new JsonSerializer(), new SqsAdapter(
    'xxxxxxxxxxxx', // key
    'xxxxxxxxxxxx', // secret
    'ap-northeast-1', // region
    'https://sqs.ap-northeast-1.amazonaws.com/000000000000/queue-name' // queue url
));
while (true) {
    $job = $sender->dequeue();
    if ($job) {
        print_r($job->read());
        $job->delete();
    }
    sleep(3);
}
```

Websites
--------

[](#websites)

- [wandu.github.io](https://wandu.github.io)

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity67

Established project with proven stability

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

Recently: every ~64 days

Total

17

Last Release

3230d ago

Major Versions

v0.1.0 → v3.0.0-alpha22016-05-12

v3.0.4 → v4.0.0-beta12017-06-19

PHP version history (4 changes)v0.1.0PHP &gt;=5.6.0

v3.0.0-alpha2PHP &gt;=7.0.0

v3.0.0-beta4PHP &gt;=5.6

v4.0.0-beta1PHP &gt;=7.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/0b499bc2a487ec730542759876340fb439fe2474ea14f2105ca88f003717d495?d=identicon)[wan2land](/maintainers/wan2land)

---

Tags

queuewandu

### Embed Badge

![Health badge](/badges/wandu-q/health.svg)

```
[![Health](https://phpackages.com/badges/wandu-q/health.svg)](https://phpackages.com/packages/wandu-q)
```

###  Alternatives

[php-amqplib/php-amqplib

Formerly videlalvaro/php-amqplib. This library is a pure PHP implementation of the AMQP protocol. It's been tested against RabbitMQ.

4.6k125.3M879](/packages/php-amqplib-php-amqplib)[ramsey/collection

A PHP library for representing and manipulating collections.

1.2k486.0M69](/packages/ramsey-collection)[queue-interop/queue-interop

Promoting the interoperability of MQs objects. Based on Java JMS

48030.5M87](/packages/queue-interop-queue-interop)[enqueue/enqueue

Message Queue Library

19820.0M56](/packages/enqueue-enqueue)[phootwork/collection

The phootwork library fills gaps in the php language and provides better solutions than the existing ones php offers.

3924.8M15](/packages/phootwork-collection)[apinstein/jqjobs

Async job manager for PHP.

3220.2k](/packages/apinstein-jqjobs)

PHPackages © 2026

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