PHPackages                             ronanchilvers/silex-queue-beanstalkd - 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. ronanchilvers/silex-queue-beanstalkd

ActiveLibrary

ronanchilvers/silex-queue-beanstalkd
====================================

Simple queue mechanism for silex using beanstalkd

1.1.1(7y ago)0183[2 issues](https://github.com/ronanchilvers/silex-queue-beanstalkd/issues)MITPHP

Since Jan 15Pushed 7y ago1 watchersCompare

[ Source](https://github.com/ronanchilvers/silex-queue-beanstalkd)[ Packagist](https://packagist.org/packages/ronanchilvers/silex-queue-beanstalkd)[ RSS](/packages/ronanchilvers-silex-queue-beanstalkd/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (3)Dependencies (2)Versions (4)Used By (0)

Simple queue for silex
======================

[](#simple-queue-for-silex)

This is a simple queue mechanism for [Silex](https://silex.symfony.com/) using [Beanstalkd](http://kr.github.io/beanstalkd/) as the backend.

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

[](#installation)

Installation using composer:

```
composer require ronanchilvers\silex-queue-beanstalkd
```

We're assuming that you have an accessible Beanstalkd instance running somewhere and that you know its network address.

Configuration
-------------

[](#configuration)

To use the queue service you need to register the provider like so:

```
$app->register(new Ronanchilvers\Silex\Queue\QueueProvider());
```

By default this assumes that Beanstalkd is running on the default port (11300) on localhost.

There are a few configuration directives that you can use to get the queue service working. You can pass these in using the normal Silex way like this:

```
$app->register(new Ronanchilvers\Silex\Queue\QueueProvider(), [
    'queue.options' => [
        'host' => '1.2.3.4'
    ]
]);
```

The available configuration keys are:

- host : Beanstalkd host (default localhost)
- port : Beanstalkd port (default 11300)
- timeout : Timeout for Beanstalkd connection (default 2 seconds). This option is passed directly through to Pheanstalk.
- persistent : Use a persistent connection to Beanstalkd or not (default false). This option is passed directly through to Pheanstalk.
- default.queue : default queue to push / pull to / from. The queue can be overridden at publish / consume time.
- max.iterations : maximum iterations a worker does when using the queue:consume CLI command before exiting

Consume Command
---------------

[](#consume-command)

A simple consume command for use with `symfony/console` is provided. The command requires the [`knplabs/console-service-provider`](https://github.com/KnpLabs/ConsoleServiceProvider) package as it needs access to the Application object. To use it you can do something like this:

```
$console->add(new Ronanchilvers\Silex\Queue\Console\Command\ConsumeCommand());
```

which will add a queue:consume command to the console application.

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity65

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

Total

3

Last Release

2768d ago

### Community

Maintainers

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

---

Top Contributors

[![ronanchilvers](https://avatars.githubusercontent.com/u/87890?v=4)](https://github.com/ronanchilvers "ronanchilvers (8 commits)")

### Embed Badge

![Health badge](/badges/ronanchilvers-silex-queue-beanstalkd/health.svg)

```
[![Health](https://phpackages.com/badges/ronanchilvers-silex-queue-beanstalkd/health.svg)](https://phpackages.com/packages/ronanchilvers-silex-queue-beanstalkd)
```

###  Alternatives

[symfony/beanstalkd-messenger

Symfony Beanstalkd Messenger Bridge

19357.4k2](/packages/symfony-beanstalkd-messenger)[stikmanw/silex-newrelic

Integrate the NewRelic PHP API into Silex framework

2014.7k](/packages/stikmanw-silex-newrelic)

PHPackages © 2026

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