PHPackages                             vijaycs85/stomp-client - 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. vijaycs85/stomp-client

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

vijaycs85/stomp-client
======================

Simple PHP STOMP client to connect to MSQ server

06PHP

Since May 18Pushed 10y agoCompare

[ Source](https://github.com/vijaycs85/StompClient)[ Packagist](https://packagist.org/packages/vijaycs85/stomp-client)[ RSS](/packages/vijaycs85-stomp-client/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependenciesVersions (1)Used By (0)

StompClient
===========

[](#stompclient)

Simple STOMP to JMQ server

Example:
--------

[](#example)

```
// Custom headers to queue server or external service provider.
$headers = array(
  'CustomHeader1' => 'Custom header value',
);
// Request & response queue location.
$queues = array(
  'request' => '/queue/com.domain.service.request',
  'response' => '/queue/com.domain.service.response',
);
// Request body string.
$body = 'foo';

// Message queue server URI.
$url = parse_url('tcp://example.com:61616');

$request = new StompRequest($headers, $body, $queues);
$stomp = new Stomp($url['scheme'] . '://' . $url['host'] . ':' . $url['port'], isset($url['user'])?$url['user']:NULL, isset($url['pass'])?$url['pass']:NULL);

$stomp_client = new StompClient($stomp);
$response = $stomp_client->getResponse($request);

unset($stomp);
print_r($response);

```

Output:
-------

[](#output)

```
StompFrame Object
(
    [command] => MESSAGE
    [headers] => Array
        (
            [message-id] => ID:394292-sample.mqserver.com-45964-1405009274970-0:1:8:1:15
            [breadcrumbId] => ID:394292-sample.mqserver.com-37346-1399540645810-2:91707:-1:1:1
            [CustomHeader1] => Custom header value
            [destination] => /queue/com.domain.service.response
            [timestamp] => 1406031094126
            [expires] => 0
            [priority] => 4
            [reply-to] => /queue/com.domain.service.response
        )

    [body] =>
)

```

###  Health Score

19

—

LowBetter than 9% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1220029?v=4)[Vijaya Chandran Mani](/maintainers/vijaycs85)[@vijaycs85](https://github.com/vijaycs85)

---

Top Contributors

[![vijaycs85](https://avatars.githubusercontent.com/u/1220029?v=4)](https://github.com/vijaycs85 "vijaycs85 (5 commits)")

### Embed Badge

![Health badge](/badges/vijaycs85-stomp-client/health.svg)

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

###  Alternatives

[php-http/cache-plugin

PSR-6 Cache plugin for HTTPlug

25025.5M80](/packages/php-http-cache-plugin)[illuminate/http

The Illuminate Http package.

11937.2M6.5k](/packages/illuminate-http)[rdkafka/rdkafka

A PHP extension for Kafka

2.2k20.0k1](/packages/rdkafka-rdkafka)[httpsoft/http-message

Strict and fast implementation of PSR-7 and PSR-17

87930.4k113](/packages/httpsoft-http-message)[mezzio/mezzio-router

Router subcomponent for Mezzio

265.3M84](/packages/mezzio-mezzio-router)[serpapi/google-search-results-php

Get Google, Bing, Baidu, Ebay, Yahoo, Yandex, Home depot, Naver, Apple, Duckduckgo, Youtube search results via SerpApi.com

69122.6k](/packages/serpapi-google-search-results-php)

PHPackages © 2026

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