Choosing the Right Stack for a Multiplayer Online Gaming Website

I’m planning to build a multiplayer online gaming platform and I’m looking for advice on which scripts or frameworks to use. I’ve seen a lot of options out there, but I want something that’s scalable and well-maintained.

For the backend, I’m considering either PHP (with something like Laravel) or Node.js (with Express). For real-time features like chat and live game updates, Socket.IO seems great. Has anyone used ReactPHP for PHP-based real-time? Or should I just go full Node.js?

For the frontend, I’m leaning towards a modern JS framework like React or Vue. But I’m open to suggestions.

I also need a game server. For simple turn-based games, a REST API might work, but for real-time action, I’d need something like Photon or Colyseus. Any experience with those?

Let’s discuss! What stack have you used for your browser games, and what would you recommend starting today?

Topic Summary: Building a multiplayer gaming platform? Consider Node.js+Socket.IO for real-time, React/Vue frontend, and Colyseus/Photon for game servers.

:hammer_and_wrench: Featured GitHub Resource:

  • godotengine/godot - Godot Engine – Multi-platform 2D and 3D game engine (★ 114271)

:open_book: Topic Overview (Wikipedia):

Gaming may refer to:
Read more on Wikipedia

:movie_camera: YouTube Video:

---
title: Multiplayer Game Stack Selection
---
flowchart TD
    A["Define Game Requirements"]
    A --> B{"Frontend"}
    B --> C["React / Three.js"]
    B --> D["Unity / Unreal"]
    A --> E{"Backend"}
    E --> F["Node.js / Express"]
    E --> G["Python / Django"]
    A --> H{"Database"}
    H --> I["PostgreSQL"]
    H --> J["MongoDB"]
    A --> K{"Networking"}
    K --> L["WebSocket"]
    K --> M["WebRTC"]
    C & D & F & G & I & J & L & M --> N["Integrate & Deploy"]

Forget PHP for real-time. If you want a forum-ready system, look at XenForo or vBulletin for the community side, but integrate a separate game server. Construct 3 is good for simple browser games, but for serious multiplayer, go with Phaser + Node.js (Socket.io) or Colyseus. Colyseus is battle-tested for real-time. Node.js and Socket.io are the standard. So my stack: Phaser on frontend, Node.js with Socket.io for game server, XenForo for forums, and maybe Colyseus if you want an engine. Keep it simple.