Download the PHP package krymosoftware/gameq without Composer

On this page you can find all versions of the php package krymosoftware/gameq. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package gameq

GameQ

CI Latest Stable Version Supported protocols PHP Version

GameQ is a PHP library for querying many kinds of multiplayer game and voice servers. A single GameQ instance can query mixed UDP, TCP, TLS, HTTP, and master-list protocols and return a consistent result structure.

This repository is the maintained SoftCreatR Media fork of Austinb/GameQ. Version 5 targets PHP 8.1 and newer, provides a documented migration path from 4.x, and deliberately modernizes the extension API while adding current protocol support, stricter parsing, bounded batching, and modern quality checks.

Highlights

Installation

Composer is recommended:

GameQ requires PHP 8.1 or newer and the curl, libxml, simplexml, and xml extensions. The optional bz2 extension is only needed to decode compressed Source/A2S split responses. See the installation guide for standalone loading and platform details.

Quick start

The port in host is always the client/connect port. GameQ calculates the query port where a protocol has a known offset; use the per-server query_port option when the server uses a custom query port.

Custom HTTP clients (5.2+)

All HTTP requests, including EOS/Dragonwilds, WARDOGS, official directories, authenticated APIs, and legacy HTTP packet protocols, use the configured transport. UDP and non-HTTP TCP queries continue to use GameQ's query transport.

The default GameQ\Http\CurlClient works without additional dependencies. Use any PSR-18 client with PSR-17 request and stream factories through the optional GameQ\Http\Psr18Client adapter. Configure its proxy, TLS verification, redirect refusal, and timeout on the underlying client: PSR-18 has no per-request options. The adapter bounds response reads, but an underlying client may buffer the response before returning it.

For Guzzle, the optional GameQ\Http\GuzzleClient adapter applies each protocol's timeout and decoded response size limit during transfer, verifies TLS, and refuses redirects. Install Guzzle separately (composer require guzzlehttp/guzzle:^7.9):

For another PSR-18 implementation, replace GuzzleClient with Psr18Client and provide your client and factories. For transports without PSR support, implement GameQ\Http\ClientInterface::send(Request $request): Response. Honor the request's timeout and size limit, verify TLS, refuse redirects, and throw HttpException for transfer failures. HTTP error statuses are returned as responses; protocols decide whether they mean offline. Windrose login cookies are scoped to the current server and query, and directory caches are scoped to the configured transport.

setHttpClient() updates existing servers and servers added later. Independently created Server/Protocol instances can use protocolInstance()->setHttpClient(). The standalone autoloader remains supported without installing PSR or Guzzle packages when using the default cURL transport.

In WoltLab Suite, use new wcf\system\gameq\ScGameQ() from the developer package. It injects a client from the Suite's HttpFactory and honors PROXY_SERVER_HTTP.

Documentation

Project documentation is maintained in the separate GameQ Wiki, updated from the useful parts of the upstream wiki for this fork and version 5.

Start here Operate GameQ Extend GameQ
Installation Global options Architecture
Quick start and examples Results and normalized fields Adding a protocol
Server definitions and ports Performance and batching Tests and fixtures
Supported identifiers and protocol families Troubleshooting Upgrading from 4.x

Protocol-specific credentials and HTTP endpoints need additional care. Read protocol options and security guidance before exposing queries through a public application.

Support and contributing

License

GameQ is licensed under the GNU Lesser General Public License 3.0 or later.


All versions of gameq with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
ext-curl Version *
ext-libxml Version *
ext-simplexml Version *
ext-xml Version *
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package krymosoftware/gameq contains the following files

Loading the files please wait ...