{"id":22791190,"url":"https://github.com/loperd/minecraft-query-client","last_synced_at":"2026-02-18T07:31:22.104Z","repository":{"id":41468065,"uuid":"509741997","full_name":"loperd/minecraft-query-client","owner":"loperd","description":"Minecraft Query Client by TCP \u0026 UDP protocols. Implementation of: https://wiki.vg/Query and https://wiki.vg/Server_List_Ping","archived":false,"fork":false,"pushed_at":"2024-07-10T12:09:28.000Z","size":208,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-10-19T12:25:05.775Z","etag":null,"topics":["minecraft","minecraft-client","minecraft-client-abstraction","minecraft-php","minecraft-php-client","minecraft-ping","minecraft-query","minecraft-query-client","minecraft-query-client-php","minecraft-server-client"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/loperd.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-07-02T11:52:33.000Z","updated_at":"2024-07-10T12:09:31.000Z","dependencies_parsed_at":"2024-12-12T02:38:43.047Z","dependency_job_id":"ce7935bb-b0bf-4cd7-920d-fb0b9c5bf345","html_url":"https://github.com/loperd/minecraft-query-client","commit_stats":{"total_commits":21,"total_committers":2,"mean_commits":10.5,"dds":0.1428571428571429,"last_synced_commit":"024bbb8b2d304dcdd59ad8fe84219a595962d55c"},"previous_names":[],"tags_count":21,"template":false,"template_full_name":null,"purl":"pkg:github/loperd/minecraft-query-client","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/loperd%2Fminecraft-query-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/loperd%2Fminecraft-query-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/loperd%2Fminecraft-query-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/loperd%2Fminecraft-query-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/loperd","download_url":"https://codeload.github.com/loperd/minecraft-query-client/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/loperd%2Fminecraft-query-client/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29572393,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-18T06:19:27.422Z","status":"ssl_error","status_checked_at":"2026-02-18T06:18:44.348Z","response_time":162,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["minecraft","minecraft-client","minecraft-client-abstraction","minecraft-php","minecraft-php-client","minecraft-ping","minecraft-query","minecraft-query-client","minecraft-query-client-php","minecraft-server-client"],"created_at":"2024-12-12T02:38:28.107Z","updated_at":"2026-02-18T07:31:22.089Z","avatar_url":"https://github.com/loperd.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# Minecraft Query Client\n\nSimple implementation of [Server List Ping](https://wiki.vg/Server_List_Ping) and [Query](https://wiki.vg/Query) for getting status of Minecraft Server.\n\n### Installation\n\n```bash\ncomposer require loper/minecraft-query-client\n```\n\n### Examples\n\n#### Server List Ping\nexamples/java-ping.php\n\n```php\n#!/usr/bin/env php\n\u003c?php\n\ndeclare(strict_types=1);\n\nuse Loper\\Minecraft\\Protocol\\Struct\\JavaProtocolVersion;\nuse Loper\\MinecraftQueryClient\\MinecraftQuery;\n\nrequire_once __DIR__ . '/bootstrap.php';\n\nreturn static function (string $host, int $port) {\n    var_dump(MinecraftQuery::javaPing(\n        host: $host,\n        port: $port,\n        protocol: JavaProtocolVersion::JAVA_1_7_1\n    ));\n};\n```\n\n#### Query\nexamples/java-query.php\n\n```php\n#!/usr/bin/env php\n\u003c?php\n\ndeclare(strict_types=1);\n\nuse Loper\\Minecraft\\Protocol\\Struct\\JavaProtocolVersion;\nuse Loper\\MinecraftQueryClient\\MinecraftQuery;\n\nrequire_once __DIR__ . '/bootstrap.php';\n\nreturn static function (string $host, int $port) {\n    var_dump(MinecraftQuery::queryPing(\n        host: $host,\n        port: $port,\n        protocol: JavaProtocolVersion::JAVA_1_7_1\n    ));\n};\n```\n\n#### Aggregated result from Query protocol \u0026 Minecraft server ping\nexamples/java-both.php\n\n```php\n#!/usr/bin/env php\n\u003c?php\n\ndeclare(strict_types=1);\n\nuse Loper\\Minecraft\\Protocol\\Struct\\JavaProtocolVersion;\nuse Loper\\MinecraftQueryClient\\MinecraftQuery;\n\nrequire_once __DIR__ . '/bootstrap.php';\n\nreturn static function (string $host, int $port) {\n    var_dump(MinecraftQuery::javaQueryPing(\n        host: $host,\n        port: $port,\n        protocol: JavaProtocolVersion::JAVA_1_7_1\n    ));\n};\n```\n\n#### Bedrock\nexamples/bedrock-ping.php\n\n```php\n#!/usr/bin/env php\n\u003c?php\n\ndeclare(strict_types=1);\n\nuse Loper\\Minecraft\\Protocol\\Struct\\BedrockProtocolVersion;\nuse Loper\\MinecraftQueryClient\\MinecraftQuery;\n\nrequire_once __DIR__ . '/bootstrap.php';\n\nreturn static function (string $host, int $port) {\n    var_dump(MinecraftQuery::bedrockPing(\n            host: $host,\n            port: $port,\n            protocol: BedrockProtocolVersion::BEDROCK_1_20_15\n    ));\n};\n```\n\n### Credits\n\n- [Wiki.vg](https://wiki.vg/Main_Page)\n- [Minecraft Fandom Wiki](https://minecraft.fandom.com/wiki/Protocol_version)\n- [PHP-Minecraft-Query](https://github.com/xPaw/PHP-Minecraft-Query)\n- [BotFilter by Leymooo](https://github.com/Leymooo/BungeeCord)\n- [Bungeecord](https://github.com/SpigotMC/BungeeCord)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Floperd%2Fminecraft-query-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Floperd%2Fminecraft-query-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Floperd%2Fminecraft-query-client/lists"}