PHPackages                             kislayphp/socket - 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. kislayphp/socket

ActivePhp-ext[HTTP &amp; Networking](/categories/http)

kislayphp/socket
================

High-performance C++ PHP extension providing realtime socket transport for long-running PHP services

0.0.1(4mo ago)02Apache-2.0ShellPHP &gt;=8.2CI failing

Since Mar 16Pushed 2mo agoCompare

[ Source](https://github.com/KislayPHP/socket)[ Packagist](https://packagist.org/packages/kislayphp/socket)[ Docs](https://github.com/KislayPHP/socket)[ RSS](/packages/kislayphp-socket/feed)WikiDiscussions main Synced 4w ago

READMEChangelogDependenciesVersions (2)Used By (0)

Kislay Socket
=============

[](#kislay-socket)

Kislay Socket is the realtime socket transport package for KislayPHP. It provides long-running socket communication with Engine.IO polling, WebSocket upgrade support, rooms, namespaces, and event callbacks.

During `0.0.x`, the package keeps compatibility aliases for existing EventBus namespaces:

- `Kislay\\Socket\\*` is the primary API
- `Kislay\\EventBus\\*` and `KislayPHP\\EventBus\\*` remain available as compatibility aliases

Versioning
----------

[](#versioning)

This package stays on the `0.0.x` line until the transport surface, docs, and ecosystem integration are production-ready.

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

[](#installation)

### PIE

[](#pie)

```
pie install kislayphp/socket:0.0.1
```

Add to `php.ini`:

```
extension=kislayphp_socket.so
```

### Build from source

[](#build-from-source)

```
git clone https://github.com/KislayPHP/socket.git
cd socket
phpize
./configure --enable-kislayphp_socket
make
sudo make install
```

Minimal Server
--------------

[](#minimal-server)

```
