Elephant.io library integration in symfony2.
This bundle allows you to communicate with a socket.io server from a Symfony2 application.
nc_elephant_io:
clients:
default:
connection: http://192.168.0.14:3006
your_key:
connection: http://192.168.0.14:3000
$client = $this->get('elephantio_client.your_key');
$client->send('event id', $serializableData);
$client = $this->get('elephantio_client.your_key');
$elephantIOClient = $client->getElephantIO();
If you want to improve this bundle, you can use github pull-request and issue