PHPackages                             lucassaraiva5/queue-bundle - 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. [Caching](/categories/caching)
4. /
5. lucassaraiva5/queue-bundle

ActiveSymfony-bundle[Caching](/categories/caching)

lucassaraiva5/queue-bundle
==========================

Symfony Queue Bundle

v2.0.7(7y ago)075MITPHPPHP &gt;=5.6

Since May 21Pushed 7y ago1 watchersCompare

[ Source](https://github.com/lucassaraiva5/queue-bundle)[ Packagist](https://packagist.org/packages/lucassaraiva5/queue-bundle)[ Docs](https://github.com/lucassaraiva5/queue-bundle)[ RSS](/packages/lucassaraiva5-queue-bundle/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (7)Dependencies (4)Versions (21)Used By (0)

SymfonyBundlesQueueBundle
=========================

[](#symfonybundlesqueuebundle)

[![SensioLabsInsight](https://camo.githubusercontent.com/ef7a44ea5f9e0169e8c959084ba7789c622997bba39cb88be31dc84fdba29f16/68747470733a2f2f696e73696768742e73656e73696f6c6162732e636f6d2f70726f6a656374732f65323838633837662d646466302d346131632d383163352d3561376638366162333335312f6269672e706e67)](https://insight.sensiolabs.com/projects/e288c87f-ddf0-4a1c-81c5-5a7f86ab3351)

[![Build Status](https://camo.githubusercontent.com/00a62bc69f8129ce68c9180b2f4efba0327bed4a55ee99a911ed6e8b8ac4fdbb/68747470733a2f2f7472617669732d63692e6f72672f73796d666f6e792d62756e646c65732f71756575652d62756e646c652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/symfony-bundles/queue-bundle)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/de6fbcc53b1ee44de6af65366788e26fa07deb13dccf07270a9bd1e5ba66d622/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f73796d666f6e792d62756e646c65732f71756575652d62756e646c652f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/symfony-bundles/queue-bundle/?branch=master)[![Code Coverage](https://camo.githubusercontent.com/177c9e00c0e65a1812d386a49dc0f6596cd517cdf3b5b8f10e2444e5030a081d/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f73796d666f6e792d62756e646c65732f71756575652d62756e646c652f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/symfony-bundles/queue-bundle/?branch=master)[![Total Downloads](https://camo.githubusercontent.com/cb72266b1ec7c6ea11e7211d7a4c72cbbb12d1f6f991b6e5059b611d0d0ae5cf/68747470733a2f2f706f7365722e707567782e6f72672f73796d666f6e792d62756e646c65732f71756575652d62756e646c652f646f776e6c6f616473)](https://packagist.org/packages/symfony-bundles/queue-bundle)[![Latest Stable Version](https://camo.githubusercontent.com/bf9caa81d6333f6d7091803501d401ba0a414e4aa2309d6cc4a81badf732adc6/68747470733a2f2f706f7365722e707567782e6f72672f73796d666f6e792d62756e646c65732f71756575652d62756e646c652f762f737461626c65)](https://packagist.org/packages/symfony-bundles/queue-bundle)[![License](https://camo.githubusercontent.com/dd405c4791260aab7feae88f3993a4a95a08d9d26d86cfa26f93b7985d7e65c4/68747470733a2f2f706f7365722e707567782e6f72672f73796d666f6e792d62756e646c65732f71756575652d62756e646c652f6c6963656e7365)](https://github.com/symfony-bundles/queue-bundle/blob/master/LICENSE)

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

[](#installation)

- Require the bundle with composer:

```
composer require lucassaraiva5/queue-bundle
```

- Enable the bundle in the kernel:

```
public function registerBundles()
{
    $bundles = [
        // ...
        new lucassaraiva5\QueueBundle\SymfonyBundlesQueueBundle(),
        // ...
    ];
    ...
}
```

- Configure the queue bundle in your services.yaml.

Defaults configuration:

```
    ls5_queue:
        public: true
        class: lucassaraiva5\QueueBundle\Service\Queue
        arguments:
            $storage: '@sb_redis.default'
```

- Configure the redis client in your config.yml. Read more about [RedisBundle configuration](https://github.com/symfony-bundles/redis-bundle#installation).

How to use
----------

[](#how-to-use)

A simple example of the use of the queue:

```
$queue = $this->get('ls5_queue'); // get the service

// adding some data to queue
$queue->push('User "demo" registered');
$queue->push(1234567890);
$queue->push(new \stdClass);

// get count of items from queue
$queue->count(); // returns integer: 3
```

```
// now, we can get the data at any time in the queue order

// get data from queue
$queue->pop(); // returns string: User "demo" registered
$queue->count(); // returns integer: 2
$queue->pop(); // returns integer: 1234567890
$queue->count(); // returns integer: 1
$queue->pop(); // returns object: object(stdClass)
$queue->count(); // returns integer: 0
```

If you want to change the queue:

```
// adding data to queue `notifications`
$queue->setName('application:notifications');
$queue->push('You have a new message from Jessica');

// adding data to queue `settings`
$queue->setName('account:settings');
$queue->push('User with ID 123 changed password');

// adding data to default queue
$queue->setName('queue:default');
$queue->push('To be or not to be');

```

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor1

Top contributor holds 53.9% 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 ~46 days

Recently: every ~3 days

Total

20

Last Release

2772d ago

Major Versions

v1.0.3 → v2.0.02017-10-18

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/6072910?v=4)[Lucas Saraiva](/maintainers/lucassaraiva5)[@lucassaraiva5](https://github.com/lucassaraiva5)

---

Top Contributors

[![khaperets](https://avatars.githubusercontent.com/u/2507262?v=4)](https://github.com/khaperets "khaperets (41 commits)")[![lucassaraiva5](https://avatars.githubusercontent.com/u/6072910?v=4)](https://github.com/lucassaraiva5 "lucassaraiva5 (20 commits)")[![lucascardoso-egsys](https://avatars.githubusercontent.com/u/48953633?v=4)](https://github.com/lucascardoso-egsys "lucascardoso-egsys (15 commits)")

---

Tags

symfonybundleredisqueuefifo

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/lucassaraiva5-queue-bundle/health.svg)

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

###  Alternatives

[symfony-bundles/queue-bundle

Symfony Queue Bundle

3219.4k1](/packages/symfony-bundles-queue-bundle)[symfony-bundles/event-queue-bundle

Symfony EventQueue Bundle

2512.7k](/packages/symfony-bundles-event-queue-bundle)[symfony-bundles/redis-bundle

Symfony Redis Bundle

271.1M5](/packages/symfony-bundles-redis-bundle)[resquebundle/resque

A Symfony 4 bundle to manage Resque job queues

51137.1k1](/packages/resquebundle-resque)[mmoreram/rsqueue-bundle

Redis Symfony2 Queue Bundle, a simple and soft redis based message queue for symfony2

5360.7k1](/packages/mmoreram-rsqueue-bundle)[rsqueue/rsqueue-bundle

Redis Symfony2 Queue Bundle, a simple and soft redis based message queue for symfony2

1111.9k1](/packages/rsqueue-rsqueue-bundle)

PHPackages © 2026

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