K
K
kupurim2018-03-27 23:35:33
Node.js
kupurim, 2018-03-27 23:35:33

How to make chat on nodejs and laravel5?

Hello.
There is a site that is written in laravel5, you need to attach comments to each movie (page) to it. They should work instantly, ie. on websockets if I understood everything correctly. It should also be possible to make tree-like comments.
I heard that nodejs is good for this.
How to implement this in laravel5?
Linux CentOS server.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
O
OnYourLips, 2018-03-28
@OnYourLips

You need a websocket client JS library and a websocket server.
If you write in PHP, then for the web socket server I would take it (Ratchet library), and not nodejs.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question