Skip to content

Latest commit

 

History

History
25 lines (18 loc) · 1.02 KB

README.md

File metadata and controls

25 lines (18 loc) · 1.02 KB

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