{"id":19651863,"url":"https://github.com/jgniecki/minecraftrcon","last_synced_at":"2026-01-31T08:33:14.422Z","repository":{"id":250604330,"uuid":"834925144","full_name":"jgniecki/MinecraftRcon","owner":"jgniecki","description":"🐘  PHP library to request RCON for Minecraft servers","archived":false,"fork":false,"pushed_at":"2024-07-28T18:23:07.000Z","size":4,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-28T03:47:31.137Z","etag":null,"topics":["library","minecraft","php","rcon","server"],"latest_commit_sha":null,"homepage":"https://packagist.org/packages/dev-lancer/minecraft-rcon","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/jgniecki.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}},"created_at":"2024-07-28T18:19:32.000Z","updated_at":"2024-07-28T18:27:24.000Z","dependencies_parsed_at":"2024-07-28T19:43:44.928Z","dependency_job_id":"fc883d87-eb80-42df-b6bd-bae7c142fdc9","html_url":"https://github.com/jgniecki/MinecraftRcon","commit_stats":null,"previous_names":["jgniecki/minecraftrcon2"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/jgniecki/MinecraftRcon","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jgniecki%2FMinecraftRcon","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jgniecki%2FMinecraftRcon/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jgniecki%2FMinecraftRcon/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jgniecki%2FMinecraftRcon/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jgniecki","download_url":"https://codeload.github.com/jgniecki/MinecraftRcon/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jgniecki%2FMinecraftRcon/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28935416,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-31T07:49:44.436Z","status":"ssl_error","status_checked_at":"2026-01-31T07:49:34.274Z","response_time":128,"last_error":"SSL_read: 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":["library","minecraft","php","rcon","server"],"created_at":"2024-11-11T15:08:19.059Z","updated_at":"2026-01-31T08:33:14.407Z","avatar_url":"https://github.com/jgniecki.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"Minecraft Rcon\n==================\n![](https://img.shields.io/packagist/l/dev-lancer/minecraft-rcon?style=for-the-badge)\n![](https://img.shields.io/packagist/dt/dev-lancer/minecraft-rcon?style=for-the-badge)\n![](https://img.shields.io/github/v/release/jgniecki/MinecraftRcon?style=for-the-badge)\n![](https://img.shields.io/packagist/php-v/dev-lancer/minecraft-rcon?style=for-the-badge)\n\nPHP library to request RCON for Minecraft servers\n## Installation\n### Using Composer\nThis Rcon library may be installed by issuing the following command:\n```bash\n$ composer require dev-lancer/minecraft-rcon\n```\n\n## Example\nFor this script to work, rcon must be enabled on the server, by setting `enable-rcon=true` in the server's `server.properties` file. A password must also be set, and provided in the script.\n\n```php\n$host = 'some.minecraftserver.com'; // Server host name or IP\n$port = 25575;                      // Port rcon is listening on\n$password = 'server-rcon-password'; // rcon.password setting set in server.properties\n$timeout = 3;                       // How long to timeout.\n\nuse DevLancer\\MinecraftRcon;\n\n$rcon = new Rcon($host, $port, $password, $timeout);\n\nif ($rcon-\u003econnect()) {\n    if ($rcon-\u003esendCommand(\"say Hello World!\") === false) {\n        //bad request\n    } else {\n        echo $rcon-\u003egetResponse(); //success\n    }\n} else {\n    echo $rcon-\u003egetResponse(); //error\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjgniecki%2Fminecraftrcon","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjgniecki%2Fminecraftrcon","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjgniecki%2Fminecraftrcon/lists"}