rickysu/phpsocket.io

a socket.io php server side alternative

dev-master 2015-11-09 03:27 UTC

This package is auto-updated.

Last update: 2024-04-14 17:49:17 UTC


README

Build Status

socket.io php server side alternative.

Install

The recommended way to install phpsocket.io is through composer.

{
    "require": {
        "rickysu/phpsocket.io": "dev-master"
    }
}

What is it?

PHPSocket.io is a socket.io php server side alternative. The event loop is based on pecl event extension. http://php.net/manual/en/book.event.php

Requirement

pecl/event

Usage

see example/*

Tests

To run the test suite, you need install the dependencies via composer, then run PHPUnit.

$ composer install
$ phpunit

License

MIT, see LICENSE.

TODO

  • add more session handler support.
  • event queue.
  • more tests.