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

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

octamp/client
=============

WAMP client for PHP Swoole

v1.3.0(2y ago)36111MITPHPPHP &gt;=8.1

Since Feb 3Pushed 2y ago1 watchersCompare

[ Source](https://github.com/cydrickn/octamp-client)[ Packagist](https://packagist.org/packages/octamp/client)[ RSS](/packages/octamp-client/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (9)Dependencies (4)Versions (10)Used By (1)

Octamp Client
=============

[](#octamp-client)

[![Packagist PHP Version](https://camo.githubusercontent.com/3d87f4ba4d2b03c4ea69922d760d61194d7f24b3ac6ffc25ce36ae2caa9dd542/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646570656e64656e63792d762f6f6374616d702f636c69656e742f7068703f7374796c653d666c61742d737175617265)](https://packagist.org/packages/octamp/client)[![License](https://camo.githubusercontent.com/2277baaf22ec3c3d927f517bbf763307fbb3746c09ff63ae73c18a146fd2d00d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f6f6374616d702f636c69656e743f7374796c653d666c61742d737175617265)](/LICENSE)[![Test](https://github.com/cydrickn/octamp-client/actions/workflows/test.yml/badge.svg?branch=main)](https://github.com/cydrickn/octamp-client/actions/workflows/test.yml)[![codecov](https://camo.githubusercontent.com/7e72b10c5007fe03ce78d9553bd5de713273e4aa19a8d36e0b4260157bbd6b96/68747470733a2f2f636f6465636f762e696f2f6769746875622f6379647269636b6e2f6f6374616d702d636c69656e742f6272616e63682f6d61696e2f67726170682f62616467652e7376673f746f6b656e3d385938424e4a45315647)](https://codecov.io/github/cydrickn/octamp-client)

Octamp Client is an open source client for [WAMP (Web Application Messaging Protocol)](https://wamp-proto.org/), for PHP.

Octamp Client uses [Open Swoole](https://openswoole.com/docs), is a high-performance network framework based on an event-driven, asynchronous, non-blocking I/O coroutine programming model for PHP.

We also design the Octamp Client functions to be identical to [AutobahnJS](https://github.com/crossbario/autobahn-js)

The name Octamp is from Octopus + WAMP

Supported WAMP Features
-----------------------

[](#supported-wamp-features)

- Publish
- Subscribe
- Call
- Call Progressive
- Register

Requierements
-------------

[](#requierements)

- PHP &gt;= 8.1
- Swoole / OpenSwoole Extension

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

[](#installation)

```
composer require octamp/client
```

Example
-------

[](#example)

```
