Making FPS game with Electron client and PHP server is an interesting choice of technologies to say the least.
replies(5):
Server UDP:
https://github.com/solcloud/Counter-Strike/blob/7dab1533ec4d...
Client Websocket:
https://github.com/solcloud/Counter-Strike/blob/7dab1533ec4d...