pushinbr / pam-socket
Expressive socket API for Pam WebSockets.
Package info
pkg:composer/pushinbr/pam-socket
v0.1.35
2026-07-23 23:47 UTC
Requires
- php: ^8.4
- pushinbr/pam-core-api: ^0.1
This package is auto-updated.
Last update: 2026-07-26 10:50:48 UTC
README
Event-oriented socket APIs for Pam's native WebSocket transport, including authentication, rooms, broadcasts, acknowledgements and Redis Streams/NATS adapters.
pam composer require pushinbr/pam-socket
use Pam\Socket\Server; $io = Server::create(); $io->on('connection', static fn ($socket) => $socket->emit('ready'));
Pam uses standard RFC 6455 WebSockets; it is not wire-compatible with Engine.IO or Socket.IO clients.