grandchef/php-socket-io-event-emitter

There is no license information available for the latest version (1.0.2) of this package.

PHP SocketIO Client

1.0.2 2023-06-03 01:00 UTC

This package is auto-updated.

Last update: 2024-11-03 04:04:30 UTC


README

Biblioteca de conexão com socket.io

php composer require grandchef/php-socket-io-event-emitter

Exemplo

$client = new SocketIO('beta.grandchef.com.br', 443, '/ws/?EIO=4');
$client->connect();
$client->emit('sync', ['source' => 'order']);
$client->close();