{"id":21809799,"url":"https://github.com/frago9876543210/mc-protocols","last_synced_at":"2025-08-02T18:06:47.984Z","repository":{"id":123188569,"uuid":"122594246","full_name":"Frago9876543210/MC-Protocols","owner":"Frago9876543210","description":"RCON and Query clients written in PHP.","archived":false,"fork":false,"pushed_at":"2018-07-05T10:27:51.000Z","size":9,"stargazers_count":9,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-06-20T23:42:53.794Z","etag":null,"topics":["minecraft","php","php-library","php7","query","rcon"],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Frago9876543210.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"zenodo":null}},"created_at":"2018-02-23T08:32:19.000Z","updated_at":"2023-07-11T06:45:24.000Z","dependencies_parsed_at":"2023-05-26T07:31:21.660Z","dependency_job_id":null,"html_url":"https://github.com/Frago9876543210/MC-Protocols","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Frago9876543210/MC-Protocols","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Frago9876543210%2FMC-Protocols","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Frago9876543210%2FMC-Protocols/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Frago9876543210%2FMC-Protocols/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Frago9876543210%2FMC-Protocols/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Frago9876543210","download_url":"https://codeload.github.com/Frago9876543210/MC-Protocols/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Frago9876543210%2FMC-Protocols/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268431634,"owners_count":24249411,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-02T02:00:12.353Z","response_time":74,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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","php","php-library","php7","query","rcon"],"created_at":"2024-11-27T13:24:32.451Z","updated_at":"2025-08-02T18:06:47.961Z","avatar_url":"https://github.com/Frago9876543210.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MC-Protocols\n\n\n## Install\nThe recommended way to install this is the composer.\n```json\n{\n  \"require\": {\n\t\"pocketmine/binaryutils\": \"^0.1.0\",\n\t\"frago9876543210/mc-protocols\": \"dev-master\"\n  },\n  \"repositories\": [\n\t{\n\t  \"type\": \"vcs\",\n\t  \"url\": \"https://github.com/pmmp/BinaryUtils\"\n\t},\n\t{\n\t  \"type\": \"vcs\",\n\t  \"url\": \"https://github.com/Frago9876543210/MC-Protocols\"\n\t}\n  ]\n}\n```\n\n## Examples\n\n### Query\n```php\n\u003c?php\n\ndeclare(strict_types=1);\n\nrequire_once \"vendor/autoload.php\";\n\ntry{\n\t$query = new \\Frago9876543210\\Query\\Query(\"play.lbsg.net\", 19132);\n\t$result = $query-\u003egetResult();\n\tprint_r($result);\n}catch(Exception $e){\n\techo $e-\u003egetMessage();\n}\n```\n\n### RCON\n```php\n\u003c?php\n\ndeclare(strict_types=1);\n\nrequire_once \"vendor/autoload.php\";\n\ntry{\n\t$rcon = new \\Frago9876543210\\RCON\\RCON(\"127.0.0.1\", 19132, \"password\");\n\t$rcon-\u003eexecuteCommand(\"list\");\n\techo $rcon-\u003egetOutput();\n}catch(Exception $e){\n\techo $e-\u003egetMessage();\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffrago9876543210%2Fmc-protocols","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffrago9876543210%2Fmc-protocols","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffrago9876543210%2Fmc-protocols/lists"}