ortic/phpsocket.io

a socket.io php server side alternative

dev-master 2015-06-03 11:41 UTC

This package is not auto-updated.

Last update: 2024-11-13 09:43:07 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.