https://docs.soketi.app is a simple, fast, and resilient open-source WebSocket server written in Typescript. In this blog post we're going to learn how to deploy Soketi to a server managed by https://forge.laravel.com. We suggest using the "Web Server" server type when creating this server in Forge as Web servers include Node, NPM, and Nginx. After creating the server, we need to open port 6001 on the server so that the PusherJS / Echo client can connect to the Soketi server that we will install later.
With Soketi now installed and configured, we can update our Laravel application to connect to our Soketi server.