Node.js with Laravel 4.2

I am currently working on a php project - Laravel 4.2 framework. I need to use node.js . It is necessary to update the number of registered users in real time on dashbord.

I tried with Ratchet , but I don't understand the next file path we need to change.

  • /src/MyApp/Chat.php
  • /bin/chat-server.php

Does anyone have any experience with node.js in Laravel? Please help me.

+3


source to share


1 answer


I tried many ways to integrate Nodejs with my application, but I ended up using Faye . I have placed my code at the following link.

Node js Faye Client not working properly with HTTPS



This work is wonderful. If you have any other solutions please

+2


source







All Articles