Symfony 5 Websockets Tutorial

Today we’re going to build a simple real time chat app with Websockets and Symfony 5! I’d recommend you at least know the basics of Symfony and feel comfortable with Javascript before starting this tutorial. 1. Setting up our app To start, let’s get a skeleton Symfony app up. Open a terminal and go to a directory where you want your app to be and type: composer create-project symfony/skeleton app This will create an “app” folder with a base Symfony app. Go into that folder and then we’ll install a few more libraries. Next we need to install a library

Continue reading