Download the PHP package nc/elephantio-bundle without Composer
On this page you can find all versions of the php package nc/elephantio-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download nc/elephantio-bundle
More information about nc/elephantio-bundle
Files in nc/elephantio-bundle
Download nc/elephantio-bundle
More information about nc/elephantio-bundle
Files in nc/elephantio-bundle
Vendor nc
Package elephantio-bundle
Short Description Elephant IO integration in Symfony2
License MIT
Package elephantio-bundle
Short Description Elephant IO integration in Symfony2
License MIT
Please rate this library. Is it a good library?
Informations about the package elephantio-bundle
Elephant IO Bundle
Elephant.io library integration in symfony2.
This bundle allows you to communicate with a socket.io server (0.x or 1.x) from a Symfony2 application.
Installation
In your AppKernel
Configuration sample
nc_elephant_io:
clients:
default:
connection: http://192.168.0.14:3006
# specify version 0.x for 0.* version and 1.x for 1.0 version
version: 0.x
your_key:
connection: http://192.168.0.14:3000
version: 1.x
Usage
$client = $this->get('elephantio_client.your_key');
$client->send('event_name', ['foo' => 'test']);
More complex usage
$client = $this->get('elephantio_client.your_key');
$elephantIOClient = $client->getElephantIO();
// Refer to Elephant.io doc
Contribute ?
If you want to improve this bundle, you can use github pull-request and issue
All versions of elephantio-bundle with dependencies
PHP Build Version
Package Version
Requires
wisembly/elephant.io Version
~3.0
The package nc/elephantio-bundle contains the following files
Loading the files please wait ....