PHPackages                             opengsq/opengsq-php - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. opengsq/opengsq-php

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

opengsq/opengsq-php
===================

PHP library designed for querying game servers.

v0.0.3(2y ago)425[2 PRs](https://github.com/opengsq/opengsq-php/pulls)MITPHPPHP &gt;=8.1.2

Since Jan 28Pushed 2y ago1 watchersCompare

[ Source](https://github.com/opengsq/opengsq-php)[ Packagist](https://packagist.org/packages/opengsq/opengsq-php)[ GitHub Sponsors](https://github.com/BattlefieldDuck)[ RSS](/packages/opengsq-opengsq-php/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (3)Dependencies (1)Versions (6)Used By (0)

OpenGSQ PHP Library
===================

[](#opengsq-php-library)

[![PHP Composer](https://github.com/opengsq/opengsq-php/actions/workflows/php.yml/badge.svg)](https://github.com/opengsq/opengsq-php/actions/workflows/php.yml)[![GitHub license](https://camo.githubusercontent.com/7795f2aff86388201910045b3003b5c3b56ef3a3d0eeab5cdfd80c1272f98f43/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f6f70656e6773712f6f70656e6773712d706870)](https://github.com/opengsq/opengsq-php/blob/main/LICENSE)[![Packagist Version](https://camo.githubusercontent.com/3fb1678281ccefc45cabb10f6360c7795ca14818e5ab655bd4a0285537504bf7/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6f70656e6773712f6f70656e6773712d7068702e737667)](https://packagist.org/packages/opengsq/opengsq-php)[![Packagist Downloads](https://camo.githubusercontent.com/75c967709497ddc043a109224d47a341dc5ecd4c79ef53e6e00745ad5e85b421/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6f70656e6773712f6f70656e6773712d7068702e737667)](https://packagist.org/packages/opengsq/opengsq-php)

The OpenGSQ PHP library provides a convenient way to query servers from applications written in the PHP language.

Documentation
-------------

[](#documentation)

Detailed documentation is available at .

System Requirements
-------------------

[](#system-requirements)

- [PHP 8.1.2](https://www.php.net) or higher

Installation
------------

[](#installation)

The recommended way to install the OpenGSQ PHP library is through Composer, a tool for dependency management in PHP. You can install it by running the following command in your terminal:

```
composer require opengsq/opengsq-php
```

Basic Usage
-----------

[](#basic-usage)

Here’s a quick example of how you can use the OpenGSQ library to query a server using the VCMP protocol:

```
