Hello I've got a question, beacause I still don't understand that topic well and I'm beginner in that, I want to build web application where will be included realtime chat.For websockets I want to use Laravel Reverb. If I'll want host that app somwhere on web-hosting, will be node.js server needed for that(for using websockets) ? I mean, if webhosting, where I will host web app, must have support for node.js server?
No, you don't need any support for Node.js to run the Laravel Reverb package since this package is built entirely on PHP and Laravel components.
Of course, you can still build a chat application where your WebSocket server is written in Node.js, but in the case of Laravel Reverb, you don't need Node.js at all for the realtime part.