2017 © Pedro Peláez
 

library socketio-cli

Send events and receive socket.io PHP client

image

ytake/socketio-cli

Send events and receive socket.io PHP client

  • Friday, September 26, 2014
  • by ytake
  • Repository
  • 0 Watchers
  • 0 Stars
  • 521 Installations
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 9 Versions
  • 5 % Grown

The README.md

socketio-cli

MIT Licenced, (*1)

install

    "require": {
        "ytake/socketio-cli": "dev-master"
    },

Send messages and Receive

// namespace support
$client->client("http://localhost:3000")->query(['query' => 1])
    // namespace
    ->of('/active')->connection(function() use($client){
            // event receive
            $client->on('connection', function($data) use($client){
                    // value from socket.io server
                    var_dump($data);
                });
            // event emit
            $client->emit('sender', ['hello']);
            // event receive
            $client->on('message', function($data) use($client){
                    // value from socket.io server
                    var_dump($data);
                    $client->disconnect();
                });
        })->keepAlive();

Licence

This software is distributed under MIT License. See license.txt file for more info., (*2)

Special Thanks

Special thanks goes to Wisembly team authors of Elephant.io, (*3)

The Versions

26/09 2014

dev-master

9999999-dev

Send events and receive socket.io PHP client

  Sources   Download

MIT

The Requires

 

The Development Requires

by Yuuki Takezawa

websocket socket.io

15/11 2013

v2.0.3

2.0.3.0

Send events to socket.io though PHP

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

by Ludovic Barreca

websocket nodejs socket.io

10/09 2013

dev-jrdiaz-master

dev-jrdiaz-master

Send events to socket.io though PHP

  Sources   Download

GPL

The Requires

  • php >=5.3.0

 

by Ludovic Barreca

websocket nodejs socket.io

22/04 2013

v2.0.2

2.0.2.0

Send events to socket.io though PHP

  Sources   Download

GPL

The Requires

  • php >=5.3.0

 

by Ludovic Barreca

websocket nodejs socket.io

09/04 2013

v2.0.1

2.0.1.0

Send events to socket.io though PHP

  Sources   Download

GPL

The Requires

  • php >=5.3.0

 

by Ludovic Barreca

websocket nodejs socket.io

23/10 2012

v2.0.0

2.0.0.0

Send events to socket.io though PHP

  Sources   Download

GPL

The Requires

  • php >=5.3.0

 

by Ludovic Barreca

websocket nodejs socket.io

19/09 2012

dev-hybi-16

dev-hybi-16

Send events to socket.io though PHP

  Sources   Download

GPL

The Requires

  • php >=5.3.0

 

by Ludovic Barreca

websocket nodejs socket.io

17/09 2012

v2.0.0-alpha

2.0.0.0-alpha

Send events to socket.io though PHP

  Sources   Download

GPL

The Requires

  • php >=5.3.0

 

by Ludovic Barreca

websocket nodejs socket.io

05/08 2012

v1.0.0-alpha

1.0.0.0-alpha

Send events to socket.io though PHP

  Sources   Download

GPL

The Requires

  • php >=5.3.0

 

by Ludovic Barreca

websocket nodejs socket.io