yii2 + websocket

what’s the best way to make websocket backend part? Does yii2 have any tools for that?

If it doesn’t, what should i use?

I need to access Yii2 features if my code - some models and user Yii2 component, so node.js doesn’t suit, right?

Should i use PHPdaemon? Is there any tutorials/examples of PHPDaemon+Yii2?


Looks like there’s not much info in internets about the question.

i have found an extension

but looks like it is not updated long enough

I am also interested in this topic.

I’m trying to implement at websocket on php.

Information is very small.


There is a solution. But it is a mistake.