louixscult/querylabel

A MCPE query library for PHP

Maintainers

Package info

github.com/louixscult/QueryLabel

pkg:composer/louixscult/querylabel

Statistics

Installs: 0

Dependents: 0

Suggesters: 0

Stars: 1

Open Issues: 0

1.0.0 2026-04-03 15:42 UTC

This package is auto-updated.

Last update: 2026-04-03 16:07:12 UTC


README

QueryLabel

MCPE query library for PHP

Introduction

QueryLabel is a library for PocketMine-MP To make a query to an MCPE server using sockets. The library will retrieve the data and transform it into an object, which can then be serialized.

How to use

You can perform a query using the QueryHandle::query() method. When used, will be returns a ServerQuery object

Example:


use louixscult\querylabel\QueryHandler;

$query = QueryHandler::query('youserver.xyz', 19132, 5) // the timeout argument is a optional
$data = $query->jsonSerialize();

echo(print_f($data));