PHPackages                             bootphpized/wamp-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. bootphpized/wamp-client

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

bootphpized/wamp-client
=======================

WAMP client in PHP

08PHP

Since Aug 2Pushed 8y ago1 watchersCompare

[ Source](https://github.com/bootphpized/wamp-client)[ Packagist](https://packagist.org/packages/bootphpized/wamp-client)[ RSS](/packages/bootphpized-wamp-client/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependenciesVersions (1)Used By (0)

WAMP Client
===========

[](#wamp-client)

About
-----

[](#about)

This library has been tested with Ratchet WAMP server. It can only send messages to the server, listening for replies is not implemented. Supported functions:

- prefix
- call
- publish
- event

Based on

Usage
-----

[](#usage)

```
$client = new \WAMP\WAMPClient('http://localhost:8080');
$sessionId = $client->connect();

//establish a prefix on server
$client->prefix("calc", "http://example.com/simple/calc#");

//you can send arbitrary number of arguments
$client->call('calc', 12,14,15);

$data = [0, 1, 2];

//or array
$client->call('calc', $data);

publish an event

//$payload can be scalar or array
$exclude = [$sessionId]; //no sense in sending the payload to ourselves
$eligible = [...] //list of other clients ids that are eligible to receive this payload
$client->publish('topic', $payload, $exclude, $eligible);

$client->event('topic', $payload);
$client->disconnect();
```

License
-------

[](#license)

This software is distributed under MIT License. See LICENSE for more info.

Author
------

[](#author)

Martin Bažík

Thanks
------

[](#thanks)

Thanks to Elephant.IO authors for the websocket communication part.

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor2

2 contributors hold 50%+ of commits

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/5462166?v=4)[Lalit Tanwar | The Architect](/maintainers/lnt)[@lnt](https://github.com/lnt)

---

Top Contributors

[![guillaumepotier](https://avatars.githubusercontent.com/u/496234?v=4)](https://github.com/guillaumepotier "guillaumepotier (17 commits)")[![bazo](https://avatars.githubusercontent.com/u/181588?v=4)](https://github.com/bazo "bazo (8 commits)")[![loertel](https://avatars.githubusercontent.com/u/4450512?v=4)](https://github.com/loertel "loertel (5 commits)")[![mieszko4](https://avatars.githubusercontent.com/u/3238370?v=4)](https://github.com/mieszko4 "mieszko4 (2 commits)")[![blub0hr](https://avatars.githubusercontent.com/u/4029791?v=4)](https://github.com/blub0hr "blub0hr (1 commits)")[![gmajoulet](https://avatars.githubusercontent.com/u/1492044?v=4)](https://github.com/gmajoulet "gmajoulet (1 commits)")[![lnt](https://avatars.githubusercontent.com/u/5462166?v=4)](https://github.com/lnt "lnt (1 commits)")

### Embed Badge

![Health badge](/badges/bootphpized-wamp-client/health.svg)

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

###  Alternatives

[php-http/cache-plugin

PSR-6 Cache plugin for HTTPlug

25126.1M81](/packages/php-http-cache-plugin)[illuminate/http

The Illuminate Http package.

11937.2M6.6k](/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

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

Router subcomponent for Mezzio

265.4M85](/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

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

PHPackages © 2026

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