PHPackages                             edlcdmc/stomp-php - 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. [HTTP &amp; Networking](/categories/http)
4. /
5. edlcdmc/stomp-php

ActiveLibrary[HTTP &amp; Networking](/categories/http)

edlcdmc/stomp-php
=================

stomp support for PHP

2.1.1(7y ago)037Apache-2.0PHPPHP &gt;=5.3.0

Since Sep 14Pushed 7y ago1 watchersCompare

[ Source](https://github.com/edlcdmc/stomp-php)[ Packagist](https://packagist.org/packages/edlcdmc/stomp-php)[ Docs](http://github.com/rethab/stomp-php)[ RSS](/packages/edlcdmc-stomp-php/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

A simple PHP [Stomp](http://stomp.github.com) Client

Version choice
--------------

[](#version-choice)

There are 2 Versions of stomp-php. 1.x is compatible with PHP &lt;= PHP-5.2 as it does not use PHP-5.3 specific features.

The master branch uses features such as namespaces and newer constants and will become the 2.x release in the near future.

For versioning [semantic versioning](http://semver.org/) is used.

The different Versions can be found at the [tags](stomp-php/tags)section.

Installing
----------

[](#installing)

The source is PSR-0 compliant. So just donwload the source and add the Namespace "FuseSource" to your autoloader configuration with the path pointing to src/.

As an alternate you have the possibility to make use of composer to manage your project dependencies.

Just add

```
"require": {
    "fusesource/stomp-php" : "2.0.*"
}

```

to your project composer.json.

Running Examples
----------------

[](#running-examples)

Examples are located in `src/examples` folder. Before running them, be sure you have installed this library properly and you have started ActiveMQ broker (recommended version 5.5.0 or above) with \[Stomp connector enabled\] ().

You can start by running

```
cd examples
php first.php

```

Also, be sure to check comments in the particular examples for some special configuration steps (if needed).

Documentation
-------------

[](#documentation)

- [Web Site](http://stomp.fusesource.org/documentation/php/)

Step by Step: Certificate based Authentication
----------------------------------------------

[](#step-by-step-certificate-based-authentication)

Tests
-----

[](#tests)

The tests at the moment need a running instance of activeMQ listening on the default STOMP Port 61613.

To run the tests you first need to fetch the dependencies for the test suite via composer:

```
$ php composer.phar install

```

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 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

Unknown

Total

1

Last Release

2800d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/245b886fffe11c5bd8423febb25aee258401dbe30e6cf94377d16108ffd8a461?d=identicon)[edlcdmc](/maintainers/edlcdmc)

---

Top Contributors

[![edlcdmc](https://avatars.githubusercontent.com/u/2192107?v=4)](https://github.com/edlcdmc "edlcdmc (1 commits)")

---

Tags

messagingjmsstompactiveMQ

### Embed Badge

![Health badge](/badges/edlcdmc-stomp-php/health.svg)

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

###  Alternatives

[pusher/pusher-php-server

Library for interacting with the Pusher REST API

1.5k94.8M293](/packages/pusher-pusher-php-server)[stomp-php/stomp-php

stomp support for PHP

1285.6M26](/packages/stomp-php-stomp-php)[centrifugal/phpcent

PHP library to communicate with Centrifugo HTTP API

1822.3M4](/packages/centrifugal-phpcent)[infobip/infobip-api-php-client

PHP library for consuming Infobip's API

921.8M10](/packages/infobip-infobip-api-php-client)[sl4mmer/phpcent

PHP library to communicate with Centrifugo HTTP API

182293.0k1](/packages/sl4mmer-phpcent)[ably/ably-php-laravel

Ably realtime REST PHP library wrapper for Laravel

30319.6k1](/packages/ably-ably-php-laravel)

PHPackages © 2026

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