PHPackages                             drymek/pheanstalk-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. [Queues &amp; Workers](/categories/queues)
4. /
5. drymek/pheanstalk-bundle

AbandonedSymfony-bundle[Queues &amp; Workers](/categories/queues)

drymek/pheanstalk-bundle
========================

A pheanstalk-bundle for Symfony2

159274PHP

Since Oct 8Pushed 12y ago1 watchersCompare

[ Source](https://github.com/drymek/PheanstalkBundle)[ Packagist](https://packagist.org/packages/drymek/pheanstalk-bundle)[ RSS](/packages/drymek-pheanstalk-bundle/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

Introduction:
-------------

[](#introduction)

Pheanstalk bundle is simple and easy way to use Pheanstalk2 (namespaced version of Pheanstalk) with Symfony2 applications. It's provide some usefull tool.

Install:
--------

[](#install)

deps:

```
[Pheanstalk]
    git=https://github.com/mrpoundsign/pheanstalk.git
    target=/pheanstalk

[drymekPheanstalkBundle]
    git=https://github.com/drymek/PheanstalkBundle.git
    target=/bundles/drymek/PheanstalkBundle

```

app/AppKernel.php

```
        if (in_array($this->getEnvironment(), array('dev', 'test'))) {
            // (...)
            $bundles[] = new drymek\PheanstalkBundle\drymekPheanstalkBundle();
        }

```

app/autoload.php

```

$loader->registerNamespaces(array(
    // (...)
    'Pheanstalk'       => __DIR__.'/../vendor/pheanstalk/classes',
    'drymek'           => __DIR__.'/../vendor/bundles',
));

```

app/config/config.yml

To just use the defaults (server 127.0.0.1, port 11300, timeout 3 seconds):

```

drymek_pheanstalk: ~

```

To configure any, or all, to something other than the defaults, simply add the ones you want:

```

drymek_pheanstalk:
    server:  YOUR_SERVER
    port:    YOUR_SERVER_PORT
    timeout: YOUR_CONNECTION_TIMEOUT_VALUE_IN_SECONDS

```

Service:
--------

[](#service)

Get the Pheanstalk object to work with:

```
$this->get('pheanstalk');

```

Developers tools:
-----------------

[](#developers-tools)

Add to your app/config/routing\_dev.yml

```
_pheanstalk:
    resource: "@drymekPheanstalkBundle/Resources/config/routing.yml"
    prefix:   /_pheanstalk

```

Developers tools features:
--------------------------

[](#developers-tools-features)

- List tubes
- Create tube
- List tube's jobs
- Delete jobs
- Put new job to tube

Usage example:
--------------

[](#usage-example)

```
$pheanstalk = $this->get('pheanstalk');

// ----------------------------------------
// producer (queues jobs)

$pheanstalk
    ->useTube('testtube')
    ->put("job payload goes here\n");

// ----------------------------------------
// worker (performs jobs)

$job = $pheanstalk
    ->watch('testtube')
    ->ignore('default')
    ->reserve();

echo $job->getData();

$pheanstalk->delete($job);

```

###  Health Score

26

—

LowBetter than 40% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity24

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 81.8% 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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/492240?v=4)[Marcin Dryka](/maintainers/drymek)[@drymek](https://github.com/drymek)

---

Top Contributors

[![drymek](https://avatars.githubusercontent.com/u/492240?v=4)](https://github.com/drymek "drymek (18 commits)")[![Senci](https://avatars.githubusercontent.com/u/1589584?v=4)](https://github.com/Senci "Senci (4 commits)")

### Embed Badge

![Health badge](/badges/drymek-pheanstalk-bundle/health.svg)

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

###  Alternatives

[chrisboulton/php-resque-scheduler

php-resque-scheduler is a PHP port of resque-scheduler, which adds support for scheduling items in the future to Resque.

2712.5M14](/packages/chrisboulton-php-resque-scheduler)[uecode/qpush-bundle

Asynchronous processing for Symfony using Push Queues

1672.6M2](/packages/uecode-qpush-bundle)[schickling/queue-checker

Command to check the queue health status

275.8k](/packages/schickling-queue-checker)[mayconbordin/l5-stomp-queue

Stomp Queue Driver for Laravel 5

121.1k](/packages/mayconbordin-l5-stomp-queue)

PHPackages © 2026

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