GameQ Gameserver Library
Fund package maintenance!
- php: >=5.6.40
- ext-bz2: *
- ext-xml: *
- ext-curl: *
- corneltek/getoptionkit: ~2
- php-coveralls/php-coveralls: ^1.1 || ^2.1
- phpmd/phpmd: @stable
- phpunit/php-invoker: *
- phpunit/phpunit: ^4.8 || ^6.0 || ^7.0
- squizlabs/php_codesniffer: 3.*@stable
GameQ is a PHP library that allows you to query multiple types of multiplayer game & voice servers at the same time.
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:
Update your packages with
composer update or install with
Download the latest version of the library and unpack it into your project. Add the following to your bootstrap file:
The Autoloader.php file provides the same auto loading functionality as the Composer install.
$GameQ = new \GameQ\GameQ(); $GameQ->addServer([ 'type' => 'css', 'host' => '127.0.0.1:27015', ]); $results = $GameQ->process();
Need more? See Examples.
Please see CONTRIBUTING for details.
See LICENSE for more information