prggmr / xpspl
Signals for PHP
This package's canonical repository appears to be gone and the package has been frozen as a result. Email us for help if needed.
Requires
- php: >=5.4.0
This package is not auto-updated.
Last update: 2021-02-14 18:15:31 UTC
README
I have stopped development of this library due to the limitations in the PHP language.
If you are interested in my work in signal processing I will be releasing a successor to this library sometime in the future in a more suitable language.
XPSPL
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.