Altahrim / PHP_ExtWebsockets

PHP extension providing support for websockets
Other
8 stars 1 forks source link

PHP_ExtWebsockets

Build Status Coverage Status

PHP extension providing support for websockets.

This extension rely on libwebsockets by warmcat to provide object-oriented WebSockets support in PHP 7.

Warning: this extension is only compatible with PHP >= 7.0 and only tested on linux.

Quickstart

Install libwebsockets. For Fedora you can use sudo dnf install libwebsockets-devel.

git clone https://github.com/Altahrim/PHP_ExtWebsockets
cd PHP_ExtWebsockets/src
phpize
./configure
make
sudo make install
## Check if extension is available
php -dextension=websocket.so -m | grep WebSocket