PHPackages                             kislayphp/eventbus - 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/eventbus

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

kislayphp/eventbus
==================

High-performance C++ PHP extension providing realtime event protocol-compatible realtime communication for PHP microservices

0.0.3(2mo ago)013Apache-2.0ShellPHP &gt;=8.2CI failing

Since Feb 21Pushed 2mo agoCompare

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

READMEChangelogDependenciesVersions (7)Used By (0)

KislayPHP EventBus
==================

[](#kislayphp-eventbus)

> Compatibility transport package for the older Kislay realtime transport name.

`kislayphp/eventbus` remains published on the `0.0.x` line so existing transport installs can continue to work. New transport work should start on [`kislayphp/socket`](https://github.com/KislayPHP/socket).

Current Role
------------

[](#current-role)

Use `eventbus` only when:

- an existing service is already pinned to `kislayphp/eventbus:0.0.3`
- existing code already imports `Kislay\EventBus\Server` or `Kislay\EventBus\Socket`
- you want the lowest-risk migration path before moving code to `Kislay\Socket\...`

Use `socket` for new installs when you need:

- realtime browser or service socket connections
- Engine.IO polling and WebSocket upgrade
- rooms and namespaces
- per-client replies and room fanout

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

[](#installation)

### Compatibility install

[](#compatibility-install)

```
pie install kislayphp/eventbus:0.0.3
```

Enable it in `php.ini`:

```
extension=kislayphp_eventbus.so
```

### Forward install for new transport work

[](#forward-install-for-new-transport-work)

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

Minimal Compatibility Example
-----------------------------

[](#minimal-compatibility-example)

```
