定制 enginegp/gameq 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

enginegp/gameq

最新稳定版本:v3.1.1

Composer 安装命令:

composer require enginegp/gameq

包简介

GameQ Gameserver Library

README 文档

README

CI License

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-dev
  • Bzip2 - Used for A2S Compressed responses

Installation

Composer

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

"enginegp/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:

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

统计信息

  • 总下载量: 141
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 141
  • 开发语言: PHP

其他信息

  • 授权协议: LGPL-3.0
  • 更新时间: 2024-10-10