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-socketuse 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.