-
-
Notifications
You must be signed in to change notification settings - Fork 1
Installation
GameQ 5 requires:
- PHP 8.1 or newer;
-
ext-bz2for compressed Source/A2S responses; -
ext-curlfor HTTP-backed and Epic Online Services queries; -
ext-libxml,ext-simplexml, andext-xmlfor 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.
Install the maintained fork with:
composer require softcreatr/gameq:^5.0Then 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-reqsDownload 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.
<?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.
Getting started
Configuration
Guides
Reference
Development
Migration