PHPackages                             kiwfy/taurus-publisher-php - 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. kiwfy/taurus-publisher-php

Abandoned → [not-empty/taurus-publisher-php-lib](/?search=not-empty%2Ftaurus-publisher-php-lib)Library[Queues &amp; Workers](/categories/queues)

kiwfy/taurus-publisher-php
==========================

PHP library using LUA script to send for redis a job for Taurus queue

7.0.0(2y ago)1311.1k4GPL-3.0-onlyPHPPHP ^8.3

Since Oct 23Pushed 2y ago1 watchersCompare

[ Source](https://github.com/not-empty/taurus-publisher-php-lib)[ Packagist](https://packagist.org/packages/kiwfy/taurus-publisher-php)[ RSS](/packages/kiwfy-taurus-publisher-php/feed)WikiDiscussions master Synced 3w ago

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

PHP Taurus Queue Publisher
==========================

[](#php-taurus-queue-publisher)

[![Latest Version](https://camo.githubusercontent.com/2bb1dd5fa29da41e8ee30a59ff8ade2022a8ba1d44c405d2f1a8436df6372c8a/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f6e6f742d656d7074792f7461757275732d7075626c69736865722d7068702d6c69622e7376673f7374796c653d666c61742d737175617265)](https://github.com/not-empty/taurus-publisher-php-lib/releases)[![codecov](https://camo.githubusercontent.com/af9348f85347557e57e99ff777c3adeace2cd1904d2f43bd63a6bbeaa0ef17dc/68747470733a2f2f636f6465636f762e696f2f67682f6e6f742d656d7074792f7461757275732d7075626c69736865722d7068702d6c69622f67726170682f62616467652e7376673f746f6b656e3d41454d56313633555736)](https://codecov.io/gh/not-empty/taurus-publisher-php-lib)[![CI Build](https://camo.githubusercontent.com/187968e2ca2f0e38f1320a77760ece7cc1fa1cfbbcc43e6a0553e0eb6b0b94f3/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6e6f742d656d7074792f7461757275732d7075626c69736865722d7068702d6c69622f7068702e796d6c)](https://github.com/not-empty/taurus-publisher-php-lib/actions/workflows/php.yml)[![Downloads Old](https://camo.githubusercontent.com/c3ec44f841b6ebe493ee2fc576764cfe17d3604be12484039df0fb9478bdb45a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6b697766792f7461757275732d7075626c69736865722d7068703f6c6f676f3d6f6c64266c6162656c3d646f776e6c6f6164732532306c6567616379)](https://packagist.org/packages/kiwfy/taurus-publisher-php)[![Downloads](https://camo.githubusercontent.com/b168b989dc95c655cd4c9adb06d2a989e2fbe1fab676427649416d94fc2d2055/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6e6f742d656d7074792f7461757275732d7075626c69736865722d7068702d6c69623f6c6f676f3d6f6c64266c6162656c3d646f776e6c6f616473)](https://packagist.org/packages/not-empty/taurus-publisher-php-lib)[![PRs Welcome](https://camo.githubusercontent.com/25b3e6d0d42c98de74a98cbb4d149a1c09020cf6d1361993b72d7d5b8ffed363/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5052732d77656c636f6d652d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](http://makeapullrequest.com)[![Packagist License (custom server)](https://camo.githubusercontent.com/e37aa12bc50fa69d62c2325380273d00f96eb93b0812ad9f1161ef439806cda7/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f6e6f742d656d7074792f7461757275732d7075626c69736865722d7068702d6c6962)](https://github.com/not-empty/taurus-publisher-php-lib/blob/master/LICENSE)

PHP library using LUA script to send for redis a job for Taurus queue

### Installation

[](#installation)

[Release 7.0.0](https://github.com/not-empty/taurus-publisher-php-lib/releases/tag/7.0.0) Requires [PHP](https://php.net) 8.3

[Release 6.0.0](https://github.com/not-empty/taurus-publisher-php-lib/releases/tag/6.0.0) Requires [PHP](https://php.net) 8.2

[Release 5.0.0](https://github.com/not-empty/taurus-publisher-php-lib/releases/tag/5.0.0) Requires [PHP](https://php.net) 8.1

[Release 4.0.0](https://github.com/not-empty/taurus-publisher-php-lib/releases/tag/4.0.0) Requires [PHP](https://php.net) 7.4

[Release 3.0.0](https://github.com/not-empty/taurus-publisher-php-lib/releases/tag/3.0.0) Requires [PHP](https://php.net) 7.3

[Release 2.0.0](https://github.com/not-empty/taurus-publisher-php-lib/releases/tag/2.0.0) Requires [PHP](https://php.net) 7.2

[Release 1.0.0](https://github.com/not-empty/taurus-publisher-php-lib/releases/tag/1.0.0) Requires [PHP](https://php.net) 7.1

The recommended way to install is through [Composer](https://getcomposer.org/).

```
composer require not-empty/taurus-publisher-php-lib
```

### Usage

[](#usage)

Publishing

```
use TaurusPublisher\TaurusPublisher;
$queue = 'test';
$data = [
	'publisher' => 'example',
];
$taurus = new TaurusPublisher();
$result = $taurus->add(
    $queue,
    $data
);
var_dump($result);
```

Publishing with redis config

```
use TaurusPublisher\TaurusPublisher;
$queue = 'test';
$data = [
	'publisher' => 'example',
];
$redisConfig = [
    'scheme' => 'tcp',
    'host'   => 'localhost',
    'port'   => 6379,
];
$taurus = new TaurusPublisher($redisConfig);
$result = $taurus->add(
    $queue,
    $data
);
var_dump($result);
```

Publishing with queue config

```
use TaurusPublisher\TaurusPublisher;
$queue = 'test';
$data = [
	'publisher' => 'example',
];
$taurus = new TaurusPublisher();
$queueConfig = [
    'attempts' => 4,
    'backoff' => 20000,
    'delay' => 1,
    'removeOnComplete' => 20,
];
$result = $taurus->add(
    $queue,
    $data,
    $queueConfig
);
var_dump($result);
```

Publishing in loop without exceed redis connections (reuse redis connections)

you may pass a redis connection to persist connection and allow you to loop add method without overload redis with connections

```
use TaurusPublisher\TaurusPublisher;
use Predis\Client as Redis;
$redisConfig = [
    'scheme' => 'tcp',
    'host'   => 'redis',
    'port'   => 6379,
];
$client = new Redis($redisConfig);
$queue = 'test';
$data = [
	'publisher' => 'example',
];
$taurus = new TaurusPublisher(
    $redisConfig,
    [],
    $client
);
for ($i=0; $i < 1000000; $i++) {
    $result = $taurus->add(
        $queue,
        $data
    );
    var_dump($result);
}
```

if you want an environment to run or test it, you can build and install dependences like this

```
docker build --build-arg PHP_VERSION=8.3-rc-cli -t not-empty/taurus-publisher-php-lib:php83 -f contrib/Dockerfile .
```

Access the container

```
docker run -v ${PWD}/:/var/www/html -it not-empty/taurus-publisher-php-lib:php83 bash
```

Verify if all dependencies is installed

```
composer install --no-dev --prefer-dist
```

and run (you will need redis)

```
php sample/publisher-sample.php
```

### Development

[](#development)

Want to contribute? Great!

The project using a simple code. Make a change in your file and be careful with your updates! **Any new code will only be accepted with all validations.**

To ensure that the entire project is fine:

First you need to building a correct environment to install all dependences

```
docker build --build-arg PHP_VERSION=8.3-rc-cli -t not-empty/taurus-publisher-php-lib:php83 -f contrib/Dockerfile .
```

Access the container

```
docker run -v ${PWD}/:/var/www/html -it not-empty/taurus-publisher-php-lib:php83 bash
```

Install all dependences

```
composer install --dev --prefer-dist
```

Run all validations

```
composer check
```

**Not Empty Foundation - Free codes, full minds**

###  Health Score

34

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity30

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity63

Established project with proven stability

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

Total

7

Last Release

949d ago

Major Versions

1.0.0 → 4.0.02023-10-26

4.0.0 → 5.0.02023-10-26

5.0.0 → 6.0.02023-10-26

2.0.0 → 3.0.02023-10-26

3.0.0 → 7.0.02023-11-26

PHP version history (7 changes)1.0.0PHP ^7.1

4.0.0PHP ^7.4

5.0.0PHP ^8.1

6.0.0PHP ^8.2

2.0.0PHP ^7.2

3.0.0PHP ^7.3

7.0.0PHP ^8.3

### Community

Maintainers

![](https://www.gravatar.com/avatar/3a8e537dba9018eff457d477dba8f79158989b41ca86bd74d1c4a1186c158caa?d=identicon)[kiwfy](/maintainers/kiwfy)

---

Top Contributors

[![leodisarli](https://avatars.githubusercontent.com/u/1638455?v=4)](https://github.com/leodisarli "leodisarli (17 commits)")

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/kiwfy-taurus-publisher-php/health.svg)

```
[![Health](https://phpackages.com/badges/kiwfy-taurus-publisher-php/health.svg)](https://phpackages.com/packages/kiwfy-taurus-publisher-php)
```

###  Alternatives

[bagisto/bagisto

Bagisto Laravel E-Commerce

27.6k172.1k9](/packages/bagisto-bagisto)[grumpydictator/firefly-iii

Firefly III: a personal finances manager.

23.9k69.5k](/packages/grumpydictator-firefly-iii)[unopim/unopim

UnoPim Laravel PIM

10.5k2.4k](/packages/unopim-unopim)[nahid/talk

Talk is a Laravel based realtime messaging, chatting and conversation system. It helps to develop users messaging, chatting and conversations in easy way.

1.6k59.0k4](/packages/nahid-talk)[oro/platform

Business Application Platform (BAP)

645143.5k115](/packages/oro-platform)[concrete5/core

Concrete core subtree split

20166.1k52](/packages/concrete5-core)

PHPackages © 2026

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