2017 © Pedro Peláez
 

project yii2-elephantio

A plugin for using Elephant IO with Yii2

image

sammaye/yii2-elephantio

A plugin for using Elephant IO with Yii2

  • Thursday, May 18, 2017
  • by Sammaye
  • Repository
  • 3 Watchers
  • 9 Stars
  • 2,490 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 7 Forks
  • 0 Open issues
  • 2 Versions
  • 6 % Grown

The README.md

yii2-elephantio

Yii2 Elephant IO implementation., (*1)

This is a really dirt simple extension which just wraps the Elephant IO module into a Yii2 Component., (*2)

You can configure it in your application configuration like so:, (*3)

'elephantio' => [
    'class' => 'sammaye\elephantio\ElephantIo',
    'host' => 'http://localhost:3000'
]

Adding it to your components array., (*4)

Note: Elephant IO only supports websockets., (*5)

You can use it like so:, (*6)

Yii::$app->elephantio->emit('some event', ['param1' => 'value1']);
Yii::$app->elephantio->read();

And that's it...literally., (*7)

The Versions

18/05 2017

dev-master

9999999-dev http://www.sammaye.wordpress.com/

A plugin for using Elephant IO with Yii2

  Sources   Download

BSD-3-Clause

The Requires

 

framework yii2 websocket socket elephantio

18/05 2017

1.0

1.0.0.0 http://www.sammaye.wordpress.com/

A plugin for using Elephant IO with Yii2

  Sources   Download

BSD-3-Clause

The Requires

 

framework yii2 websocket socket elephantio