Ratchet php client for ws

2,221 views
Skip to first unread message

amitab...@gmail.com

unread,
Jan 28, 2014, 12:19:05 PM1/28/14
to ratch...@googlegroups.com
Hi,

       Is there a way to write ratchet php client? We have an web socket server build in C? Now we need a solution that our php sites can create a persist connection with that server to send and receive the data at run time live. We are trying hard to find web socket clients written in php and we can use it with our php developed sites. 

Thanks,
Chuck James

cboden

unread,
Feb 2, 2014, 11:31:23 AM2/2/14
to ratch...@googlegroups.com, amitab...@gmail.com
Not at this time. I hacked one together in a few hours at one point; all the pieces the compose one are in the repo due to its loosely coupled nature. 

If you manage to create a client, please share. If not at some point I may throw together a client w/ Ratchet components and react/socket-client or react/http-client.

simon...@gmail.com

unread,
Feb 6, 2014, 9:33:47 AM2/6/14
to ratch...@googlegroups.com, amitab...@gmail.com
I wrote a PHP client for Ratchet. It works, at least for me.
https://github.com/symbiose/php-websocket-client

mill...@gmail.com

unread,
Feb 20, 2014, 5:06:06 AM2/20/14
to ratch...@googlegroups.com, amitab...@gmail.com, simon...@gmail.com
I actually tried to use your client. I am not using websockets for my app but I wanted to put together a nice Telnet client with the same nice  MessageComponentInterface
than Ratchet.


I haven't been able to tweak your class to do that.

Any advice?

simon...@gmail.com

unread,
Mar 1, 2014, 4:27:57 AM3/1/14
to ratch...@googlegroups.com, amitab...@gmail.com, simon...@gmail.com, mill...@gmail.com
Reply all
Reply to author
Forward
0 new messages