Skip to content

valx76/Symfony-Mercure-Game-Server

Repository files navigation

Symfony-Mercure-Game-Server

WIP!

POC of a Habbo's inspired game server, developed using a clean architecture.

Stack

  • PHP 8.4
  • Symfony 7.3
  • Mercure (for updating data on clients)
  • Redis (worlds and players database)
  • RabbitMQ (Symfony Messenger's transport)
  • Docker
  • FrankenPHP (worker mode)

Usage

Start docker:
docker compose up

Create one or multiple worlds:
make world <worldName>

Start the RabbitMQ consumers:
make start

Go to https://localhost to see the POC.
The frontend code is not the subject of this repo so don't mind the cleanliness (it is just to have an overview :).

Tools

PHP-CS-FIXER:
make php-cs-fixer

PHPSTAN / PHPAT (level 10):
make phpstan

PHPUNIT:
make test

BEHAT:
make behat

About

POC for a multiplayer game server developed in PHP 8.4, Symfony 7.3, using a clean architecture and powered by FrankenPHP.

Topics

Resources

Stars

Watchers

Forks

Contributors