Search code examples
phpnode.jsamazon-web-serviceslaravel-4ratchet

Node.js with Laravel 4.2


I currently working on php project - Laravel 4.2 framework. I need to use node.js. Need to real time update count of users that registered, on dashbord.

I tried with Ratchet , but I'm not clear following file path that we must edit.

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

Does someone have experience working with node.js on Laravel? Please help me.


Solution

  • I tried many ways to integrate Nodejs with my application, but finally I used Faye. I put my code on following link.

    Node js Faye Client not working properly with HTTPS

    This work fine. If you have another solutions, You are welcome