WebSocket Extension
| From: | Altahrïm | Date: | Thu, 20 Aug 2015 10:04:35 +0000 |
| Subject: | WebSocket Extension | ||
| Groups: | php.pecl.dev | ||
| Request: | Send a blank email to pecl-dev+get-13142@lists.php.net to get a copy of this message | ||
Hello,
I am Benjamin, a French PHP developer working at Comalia (Montpellier,
France).
Thanks to Julien Pauli's workshop last year in Paris, I finally tried
to create my own PHP extension to handle Websockets in PHP >= 7 (yes,
he told us everything is going to change so i prefer use the future
version). I think such support could be useful so I would like to
publish it in PECL or at least have some advices about it.
I think there is a lot of things to discuss and improve. For example, I
use a namespace and I saw it's not very common in PECL extensions.
Then, I didn't choose a license yet.
I am not a C developer (but I would like to) and even if my extension
is a simple wrapper for libwebsockets (unfortunately using LGPLv2),
there is probably a bunch of mistakes to fix. Consider it a technical
preview.
If you want to see it, I've created a git repository here :
https://github.com/Altahrim/PHP_ExtWebsockets
Then, if you are lucky, you can find a running demo of a chat using my
extension here : http://91.121.205.52:81/
Best regards,
Benjamin.