2017 © Pedro Peláez
 

library elephantio-bundle

Elephant IO integration in Symfony2

image

nc/elephantio-bundle

Elephant IO integration in Symfony2

  • Friday, October 14, 2016
  • by nchaulet
  • Repository
  • 3 Watchers
  • 18 Stars
  • 26,405 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 7 Forks
  • 1 Open issues
  • 7 Versions
  • 2 % Grown

The README.md

Elephant IO Bundle

Build Status, (*1)

knpbundles.com, (*2)

Sensio insight, (*3)

Elephant.io library integration in symfony2., (*4)

This bundle allows you to communicate with a socket.io server (0.x or 1.x) from a Symfony2 application., (*5)

Installation

composer require nc/elephantio-bundle

In your AppKernel, (*6)

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, (*7)

The Versions

14/10 2016

dev-master

9999999-dev

Elephant IO integration in Symfony2

  Sources   Download

MIT

The Requires

 

The Development Requires

by Nicolas Chaulet

bundle socket.io elephant.io

14/10 2016

v2.1.0

2.1.0.0

Elephant IO integration in Symfony2

  Sources   Download

MIT

The Requires

 

The Development Requires

by Nicolas Chaulet

bundle socket.io elephant.io

30/07 2016

v2.0.1

2.0.1.0

Elephant IO integration in Symfony2

  Sources   Download

MIT

The Requires

 

The Development Requires

by Nicolas Chaulet

bundle socket.io elephant.io

19/10 2014

v2.0.0

2.0.0.0

Elephant IO integration in Symfony2

  Sources   Download

MIT

The Requires

 

The Development Requires

by Nicolas Chaulet

bundle socket.io elephant.io

16/09 2014

v1.0.2

1.0.2.0

Elephant IO integration in Symfony2

  Sources   Download

MIT

The Requires

 

The Development Requires

by Nicolas Chaulet

bundle socket.io elephant.io

11/06 2013

v1.0.1

1.0.1.0

Elephant IO integration in Symfony2

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar nchaulet

bundle socket.io elephant.io

28/04 2013

v1.0.0

1.0.0.0

Elephant IO integration in Symfony2

  Sources   Download

The Requires

 

The Development Requires

by Avatar nchaulet