PHPackages                             happyr/stomp-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. happyr/stomp-bundle

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

happyr/stomp-bundle
===================

A Symfony2 Bundle to wrap the fusesource/stomp-php library

0.1.0(12y ago)11.0k1MITPHPPHP &gt;=5.3.2

Since Nov 9Pushed 10y ago1 watchersCompare

[ Source](https://github.com/Happyr/StompBundle)[ Packagist](https://packagist.org/packages/happyr/stomp-bundle)[ Docs](http://developer.happyr.se/symfony2-bundles/stomp-bundle)[ RSS](/packages/happyr-stomp-bundle/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependencies (2)Versions (2)Used By (0)

HappyR StompBundle
==================

[](#happyr-stompbundle)

A Symfony2 bundle that integrates the Fusesource Stomp PHP library.

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

[](#installation)

1. Install with composer:

    ```
    php composer.phar require happyr/stomp-bundle

    ```
2. Enable the bundle:

    ```
    // app/AppKernel.php

    public function registerBundles()
    {
        $bundles = array(
            // ...
            new HappyR\StompBundle\HappyRStompBundle(),
        );
    }
    ```

Using the service
-----------------

[](#using-the-service)

```
//get the connection
$con = $this->container->get('happyr.stomp.broker');

// send a message to the queue
$con->send("/queue/test", "test");
echo "Sent message with body 'test'\n";

// subscribe to the queue
$con->subscribe("/queue/test");

// receive a message from the queue
$msg = $con->readFrame();

// do what you want with the message
if ( $msg != null) {
    echo "Received message with body '$msg->body'\n";

    // mark the message as received in the queue
    $con->ack($msg);
} else {
    echo "Failed to receive a message\n";
}

// disconnect
$con->disconnect();
```

Full Default Configuration
--------------------------

[](#full-default-configuration)

```
happy_r_stomp:
    borker_uri: tcp://localhost:61613
    client_id: ~
```

More documentation
------------------

[](#more-documentation)

Since this bundle is just a wrapper for the [fusesource/stomp-php](https://github.com/dejanb/stomp-php) library you should checkout [their configuration](http://stomp.fusesource.org/documentation/php/book.html).

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor1

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

Unknown

Total

1

Last Release

4570d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/401ccc5eea13c60cf807ae982af00e368e2166e2f26d8eb541dcd881a57385bc?d=identicon)[Nyholm](/maintainers/Nyholm)

---

Top Contributors

[![Nyholm](https://avatars.githubusercontent.com/u/1275206?v=4)](https://github.com/Nyholm "Nyholm (12 commits)")[![rutkai](https://avatars.githubusercontent.com/u/1587720?v=4)](https://github.com/rutkai "rutkai (2 commits)")

---

Tags

messagequeuestompfusesource stomp-php

### Embed Badge

![Health badge](/badges/happyr-stomp-bundle/health.svg)

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

###  Alternatives

[php-amqplib/php-amqplib

Formerly videlalvaro/php-amqplib. This library is a pure PHP implementation of the AMQP protocol. It's been tested against RabbitMQ.

4.6k125.3M879](/packages/php-amqplib-php-amqplib)[php-amqplib/rabbitmq-bundle

Integrates php-amqplib with Symfony &amp; RabbitMq. Formerly emag-tech-labs/rabbitmq-bundle, oldsound/rabbitmq-bundle.

1.3k20.1M65](/packages/php-amqplib-rabbitmq-bundle)[bunny/bunny

Performant pure-PHP AMQP (RabbitMQ) non-blocking ReactPHP library

7426.5M37](/packages/bunny-bunny)[pdezwart/php-amqp

PHP AMQP Binding Library

585242.0k2](/packages/pdezwart-php-amqp)[clue/mq-react

Mini Queue, the lightweight in-memory message queue to concurrently do many (but not too many) things at once, built on top of ReactPHP

144691.7k4](/packages/clue-mq-react)[php-amqp/php-amqp

PHP AMQP Binding Library

5855.1k](/packages/php-amqp-php-amqp)

PHPackages © 2026

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