KO
|
EN
gitlite — search
Search
#python
#java
#python3
#arduino
#golang
#machine-learning
#rust
#html
#flask
#javascript
#seismology
#nodejs
ElephantIOBundle
★ 18
Open GitHub ↗
elephant io symfony2 bundle
Download README (.md)
Explore Similar Repositories
rudp
:
Reliable UDP
DBuildStat
:
Tools to measure and visualize performance of building D programs
zabbix-hipchat-alerts
:
HipChat notification script for Zabbix
nycbudget
:
Using Jim Vallandingham's d3 tutorial to create a budget visualization for NYC
phys-units
:
Phys-Units: GNU Units compatible library for Ruby, formerly called as `Quanty'.
// repository documentation
Was this content helpful?
★ 0
(0 ratings)
Select Rating:
★
★
★
★
★
Submit Feedback
Recent Feedback
×
Download README
Do you want to download the
README.md
file for
ElephantIOBundle
?
Download (.md)
# Elephant IO Bundle [](https://travis-ci.org/nchaulet/ElephantIOBundle) [](http://knpbundles.com/nchaulet/ElephantIOBundle) [](https://insight.sensiolabs.com/projects/95656013-0bba-426c-90be-07a3b88a5eb6) [Elephant.io](https://github.com/Wisembly/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 ```shell composer require nc/elephantio-bundle ``` In your AppKernel ```php public function registerbundles() { return [ ... ... new Nc\Bundle\ElephantIOBundle\NcElephantIOBundle(), ]; } ``` ## 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