Skip to content

Installation

Sascha Greuel edited this page Aug 2, 2026 · 1 revision

Installation

Home · Quick start

Requirements

GameQ 5 requires:

  • PHP 8.1 or newer;
  • ext-bz2 for compressed Source/A2S responses;
  • ext-curl for HTTP-backed and Epic Online Services queries;
  • ext-libxml, ext-simplexml, and ext-xml for XML protocols;
  • permission for the PHP process to make the required outbound UDP, TCP, TLS, and HTTP connections.

PHP 8.1 through 8.5 are covered by the regular test matrix. PHP 8.6 coverage is experimental until PHP 8.6 is stable.

Composer

Install the maintained fork with:

composer require softcreatr/gameq:^5.0

Then load Composer in your application:

require __DIR__ . '/vendor/autoload.php';

The package name is softcreatr/gameq. The upstream austinb/gameq package does not install this fork's version 5 code.

Run Composer's platform check on the deployment host if dependencies were built elsewhere:

composer check-platform-reqs

Standalone autoloader

Download a release archive, unpack it outside the web root when possible, and load the bundled autoloader:

require_once '/path/to/GameQ/src/GameQ/Autoloader.php';

Composer remains preferable because it validates PHP/extension requirements and produces a deterministic dependency graph.

Verify the installation

<?php

require __DIR__ . '/vendor/autoload.php';

$gameQ = new GameQ\GameQ();

echo $gameQ::class, PHP_EOL;

If this cannot load GameQ\GameQ, verify the autoloader path and confirm that the web or worker process uses the same PHP installation as the command line.

Continue with the quick start.

Clone this wiki locally