How do I make it run in nginx php fpm ? 
Hi, this is a question.

I have a laravel app that I want to introduce websocket feature so I am thinking about using Ratchet.  My laravel app runs nginx+ php fpm , so how do I make it work with Ratchet ?

So far the only solution I can think of is to start a Ratchet process and let it communicate with my php fpm (thru redis)

Is there a better way ? Thanks!