You can just take the example from their GitHub page, the only thing that you need to know is to set query port ASE, you do that by adding 123 to server port, default server port is 22003, then query port will be 22126.
$GameQ = new \GameQ\GameQ();
$GameQ->addServer([
'type' => 'mta',
'host' => '51.83.184.65:22003',
'options' => [
'query_port' => 22126, // SERVER PORT + 123 !IMPORTANT
],
]);
$results = $GameQ->process();
//print_r($results); // will return all data recieved thru query
print_r($results["51.83.184.65:22003"]["gq_numplayers"]); // will return only "gq_numplayers" which is player count, uncomment line above to see more stuff u can put here
Feel free to ping me if you need any help