Skip to content

floyoops/ElephantIOBundle

 
 

Repository files navigation

Elephant IO Bundle

Build Status

knpbundles.com

Sensio insight

Elephant.io library integration in symfony2.

This bundle allows you to communicate with a socket.io server from a Symfony2 application.

configuration sample

nc_elephant_io:
    clients:
        default:
            connection: http://192.168.0.14:3006
        your_key:
            connection: http://192.168.0.14:3000

usage

$client = $this->get('elephantio_client.your_key');
$client->send('event id', $serializableData);

More complex usage

$client = $this->get('elephantio_client.your_key');
$elephantIOClient = $client->getElephantIO();

Contribute ?

If you want to improve this bundle, you can use github pull-request and issue

About

elephant io symfony2 bundle

Resources

Stars

Watchers

Forks

Packages

No packages published