Implementing Server Sent Events with Slim 4

As far as I can see it still looks like an issue for Slim. On the other hand, you don’t write anything about the purpose of your project. Why do you avoid nodejs for serving events? If not, you can take a look at my extremely easy and simple hybrid solution for websocket integration with slim4:

Slim 4 Websocket integration