PHPackages                             silverslice/quick-rabbit - 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. silverslice/quick-rabbit

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

silverslice/quick-rabbit
========================

RabbitMQ queue

v0.1.2(4y ago)022↓100%MITPHPPHP &gt;=7.2

Since Nov 18Pushed 3y ago1 watchersCompare

[ Source](https://github.com/silverslice/quick-rabbit)[ Packagist](https://packagist.org/packages/silverslice/quick-rabbit)[ RSS](/packages/silverslice-quick-rabbit/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (1)Versions (4)Used By (0)

Lightweight queue library for RabbitMQ
======================================

[](#lightweight-queue-library-for-rabbitmq)

Install
-------

[](#install)

`composer require silverslice/quick-rabbit`

Features
--------

[](#features)

- Push messages with delay
- Individual retry strategy for each job

Usage
-----

[](#usage)

Create Job class:

```
namespace Silverslice\QuickRabbit\Tests\Jobs;

use Silverslice\QuickRabbit\AbstractJob;

class TestJob extends AbstractJob
{
    public $message;

    public function execute()
    {
        echo $this->message . ' ' . date('H:i:s') . "\n";
    }
}
```

Push job to the queue:

```
use Silverslice\QuickRabbit\Connection;
use Silverslice\QuickRabbit\Queue;
use Silverslice\QuickRabbit\Tests\Jobs\TestJob;

require __DIR__ . '/../vendor/autoload.php';

// set credentials for RabbitMQ
$connection = new Connection();
$connection->user = 'guest';
$connection->password = 'guest';

$queue = new Queue($connection);

$job = new TestJob();
$job->message = 'My first job';

// push to the queue
$queue->push($job);

// push to the queue with delay 2 seconds
$queue->pushWithDelay($job, 2000);
```

Run worker:

```
use Silverslice\QuickRabbit\Connection;
use Silverslice\QuickRabbit\Worker;

require __DIR__ . '/../vendor/autoload.php';

$connection = new Connection();
$worker = new Worker($connection);

// will be executed if Job failed after max retries
$worker->setFailedCallback(function ($job, Throwable $exception) {
    echo 'FailedCallback: ' . $exception->getMessage() . PHP_EOL;
});
$worker->run();
```

You can set individual retry logic in the job class. Default behaviour: maximum 5 retries, delay between retries is 1 second with multiplier 2 (1, 2, 4, 8, 16 seconds).

```
class TestJob extends AbstractJob
{
    public $message;

    public function execute()
    {

    }

    /**
     * Is job retryable?
     *
     * @param int $retries Number of retry
     * @return bool
     */
    public function isRetryable($retries): bool
    {
        return $retries message = 'My first job';

// will be executed synchronously
$queue->push($job);
```

###  Health Score

19

—

LowBetter than 12% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity36

Early-stage or recently created project

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

Total

3

Last Release

1578d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/b17dfd96904635c115d4a2bdd334a63454336ed0dcd3f02290a39bca1dce44bd?d=identicon)[silverslice](/maintainers/silverslice)

---

Top Contributors

[![silverslice](https://avatars.githubusercontent.com/u/6722542?v=4)](https://github.com/silverslice "silverslice (5 commits)")

---

Tags

queuerabbitmq

### Embed Badge

![Health badge](/badges/silverslice-quick-rabbit/health.svg)

```
[![Health](https://phpackages.com/badges/silverslice-quick-rabbit/health.svg)](https://phpackages.com/packages/silverslice-quick-rabbit)
```

###  Alternatives

[php-amqplib/rabbitmq-bundle

Integrates php-amqplib with Symfony &amp; RabbitMq. Formerly emag-tech-labs/rabbitmq-bundle, oldsound/rabbitmq-bundle.

1.2k19.9M60](/packages/php-amqplib-rabbitmq-bundle)[bschmitt/laravel-amqp

AMQP wrapper for Laravel and Lumen to publish and consume messages

2752.3M7](/packages/bschmitt-laravel-amqp)[kdyby/rabbitmq

Integrates php-amqplib with RabbitMq and Nette Framework

30685.2k4](/packages/kdyby-rabbitmq)[mookofe/tail

RabbitMQ and PHP client for Laravel and Lumen that allows you to add and listen queues messages just simple

5552.3k](/packages/mookofe-tail)[convenia/pigeon

3232.4k](/packages/convenia-pigeon)

PHPackages © 2026

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