Skip to content

Ruslan-700/GameQ

This branch is 6 commits ahead of, 241 commits behind Austinb/GameQ:v3.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

a6438fd · May 25, 2021
Dec 17, 2019
Dec 19, 2020
Mar 6, 2016
May 25, 2021
Jun 7, 2020
Jan 15, 2016
Feb 22, 2015
Sep 21, 2019
Dec 8, 2019
Feb 19, 2021
Feb 27, 2015
Jan 5, 2015
Jun 25, 2019
Feb 26, 2020
Sep 21, 2019
Sep 21, 2019

Repository files navigation

GameQ Version 3

Build Status Code Coverage Scrutinizer Code Quality License paypal

GameQ is a PHP library that allows you to query multiple types of multiplayer game & voice servers at the same time.

Requirements

  • PHP 5.6.40+ - Tested in PHP 5.6, 7.0, 7.1, 7.2 & 7.3
  • Bzip2 - Used for A2S Compressed responses

Installation

This method assumes you already have composer installed and working properly. Add austinb/gameq as a requirement to composer.json by using composer require austinb/gameq:~3.0 or by manually adding the following to the composer.json file in the require section:

"austinb/gameq": "~3.0"

Update your packages with composer update or install with composer install.

Standalone Library

Download the latest version of the library and unpack it into your project. Add the following to your bootstrap file:

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

The Autoloader.php file provides the same auto loading functionality as the Composer install.

Example

$GameQ = new \GameQ\GameQ();
$GameQ->addServer([
    'type' => 'css',
    'host' => '127.0.0.1:27015',
]);
$results = $GameQ->process();

Need more? See Examples.

Contributing

Please see CONTRIBUTING for details.

License

See LICENSE for more information

Donations

paypal

About

A PHP Gameserver Status Query Library

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%