PHPackages                             thenlabs/websocket-server - 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. thenlabs/websocket-server

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

thenlabs/websocket-server
=========================

1.0.x-dev(4y ago)3162[1 issues](https://github.com/thenlabs/websocket-server/issues)MITPHP

Since Mar 26Pushed 4y agoCompare

[ Source](https://github.com/thenlabs/websocket-server)[ Packagist](https://packagist.org/packages/thenlabs/websocket-server)[ RSS](/packages/thenlabs-websocket-server/feed)WikiDiscussions 1.0 Synced 6d ago

READMEChangelogDependencies (6)Versions (1)Used By (0)

WebSocketServer
===============

[](#websocketserver)

An asynchronous WebSocket server written in PHP.

> If you like this project gift us a ⭐.

Installation.
-------------

[](#installation)

```
$ composer require thenlabs/websocket-server 1.0.x-dev

```

> This project has not a stable version yet.

Usage.
------

[](#usage)

In the `example` directory exists a demo project which implements a bare chat server.

The `example/MyChatServer.php` file contain the class which, like you can see, implements the logic of the server through an event system.

```
