skyraptor / gameq
GameQ Gameserver Library
Fund package maintenance!
www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=VAU2KADATP5PU
Requires
- php: >=5.6.40
- ext-bz2: *
- ext-xml: *
Requires (Dev)
- ext-curl: *
- corneltek/getoptionkit: ~2
- phpmd/phpmd: @stable
- phpunit/php-invoker: *
- phpunit/phpunit: ^5.7 | ^6.0 | ^7.0 | ^8.0 | ^9.0
- squizlabs/php_codesniffer: 3.*@stable
- v3.x-dev
- v3.1.0
- v3.0.15
- v3.0.14
- v3.0.13
- v3.0.12
- v3.0.11
- v3.0.10
- v3.0.9
- v3.0.8
- v3.0.7
- v3.0.6
- v2.x-dev
- 2.0.4
- dev-bumbummen99-patch-17
- dev-bumbummen99-patch-16
- dev-bumbummen99-patch-15
- dev-bumbummen99-patch-14
- dev-bumbummen99-patch-fix-coveralis
- dev-bumbummen99-patch-fix-tests
- dev-bumbummen99-patch-13
- dev-bumbummen99-patch-apigen-workflow
- dev-features/Stationeers
- dev-features/MInecraftBE_Raknet
- dev-bumbummen99-issue-641
- dev-release-3.1.0
- dev-bumbummen99-patch-11
- dev-bumbummen99-patch-10
- dev-last-oasis
- dev-bumbummen99-patch-9
- dev-bumbummen99-patch-8
- dev-add-release.yml
- dev-test-experimental-php-versions
- dev-feature-protocol-codmw2
- dev-feature-multiple-protocols-2
- dev-feature-multiple-protocols
- dev-7daytodie-port
- dev-zomboid
- dev-rust-max-players
- dev-valheim
- dev-dns-mocking
- dev-Eldenroot-patch-1
- dev-bumbummen99-patch-6
- dev-bumbummen99-patch-7
- dev-bumbummen99-patch-5
- dev-bumbummen99-patch-4
- dev-bumbummen99-patch-3
- dev-github-actions
- dev-bumbummen99-patch-2
- dev-bumbummen99-patch-1
- dev-features/v3-gamespy3-query-speed
- dev-features/v3-https
This package is auto-updated.
Last update: 2024-12-08 09:50:58 UTC
README
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-dev
- 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:
"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:
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
Third Party Provider
- dev.tkirch.wsc.gameq - Provides the "Austinb GameQ" library at the WSC.