PHPackages                             aloware/tenants-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. aloware/tenants-queue

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

aloware/tenants-queue
=====================

Laravel package to provide fair consumption of jobs against multiple tenants.

v1.0.2(2y ago)041MITPHPPHP ^7.1|^8.0

Since Jun 23Pushed 2y ago1 watchersCompare

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

READMEChangelog (3)Dependencies (5)Versions (7)Used By (0)

Aloware - Tenants Queue
=======================

[](#aloware---tenants-queue)

Laravel package to provide fair consumption of jobs against multiple tenants.

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

[](#installation)

```
composer require aloware/tenants-queue
```

Usage
-----

[](#usage)

This package uses Redis as data storage. By default it uses `default`redis connection. You may configure to use another connection within the tenants-queue config file or by setting in the environment file.

```
TENANTS_QUEUE_REDIS_DB="default"
TENANTS_QUEUE_KEY_PREFIX="tenants-queue"

```

Now, you need to replace `use Dispatchable;` with `use TenantDispatchable;`in the Job class you need fair consumption functionality.

```
