项目作者: Austinb

项目描述 :
A PHP Gameserver Status Query Library
高级语言: PHP
项目地址: git://github.com/Austinb/GameQ.git
创建时间: 2010-09-28T14:02:29Z
项目社区:https://github.com/Austinb/GameQ

开源协议:GNU Lesser General Public License v3.0

下载


GameQ Version 3

CI
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, 7.4, 8.0, 8.1, 8.2, 8.3 & 8.4
  • Bzip2 - Used for A2S Compressed responses

Installation

Composer

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.1 or by manually adding the following to the composer.json file in the require section:

  1. "austinb/gameq": "~3.1"

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:

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

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

Useage

  1. $GameQ = new \GameQ\GameQ();
  2. $GameQ->addServer([
  3. 'type' => 'css',
  4. 'host' => '127.0.0.1:27015',
  5. ]);
  6. $results = $GameQ->process();

Need more? See the Examples as well as the Documentation.

Contributing

Please see CONTRIBUTING for details.

License

See LICENSE for more information

Third Party Provider

Donations

paypal