• Stars
    star
    173
  • Rank 219,420 (Top 5 %)
  • Language
    PHP
  • License
    MIT License
  • Created about 11 years ago
  • Updated almost 9 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Socket.IO php server side alternative

PHPSocket.io

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.