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.
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