prggmr/xpspl

Signals for PHP

Installs: 478

Dependents: 0

Stars: 101

Watchers: 4

Forks: 5

Language: HTML

v5.0.1 2014-05-16 13:54 UTC

README

Code Climate Total Downloads Latest Stable Version

PHP Signal and Event Library.

XPSPL is a high-performance event loop that supports the following event types,

  • Signals
  • Timers
  • I/O (Asynchronous)
  • Complex Signals
  • Idle

The best way to think of XPSPL is as a libevent and libev library only written in PHP and much less mature.

I/O Poll Support

Currently the only supported polling mechnanism is select.

Install

XPSPL is installed using composer.

{
  'require': {
    'prggmr\xpspl': 'v5.0.0'
  }
}

Documentation

XPSPL's documentation is available at http://xpspl.readthedocs.org.

Threads

Threads are currently being experimented with using the pthreads PHP extension.