pushinbr/pam-socket

Expressive socket API for Pam WebSockets.

Maintainers

Package info

github.com/push-in/pam-socket

Homepage

Issues

pkg:composer/pushinbr/pam-socket

Transparency log

Statistics

Installs: 43

Dependents: 1

Suggesters: 1

Stars: 0

v0.1.35 2026-07-23 23:47 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.