Parsing Websocket Data in PHP

arsh8singhs
I have implemented the Websocket in my laravel code and I am trying to get real-time data for my subscribed stocks. But I am receiving a BLOB object which I am not able to parse in anyway. Following is an example of the kind of data I am receiving (I have set websocket's binary type to arraybuffer for this example):

0,1,0,44,0,81,74,1,0,2,118,220,0,0,0,5,0,2,118,125,0,0,0,80,0,0,0,0,0,0,0,0,0,2,118,35,0,2,118,220,0,2,118,35,0,2,118,220


I have seen some videos on youtube where people have received data in proper JSON format.

I'd like to know how can I get the real-time data in readable format in PHP.

Thanks.
This discussion has been closed.