{"id":39224719,"url":"https://github.com/emansom/retrorcon-php","last_synced_at":"2026-01-17T23:33:57.634Z","repository":{"id":56980306,"uuid":"136912991","full_name":"emansom/retrorcon-php","owner":"emansom","description":"PSR-4 compliant PHP library to communicate with emulators adhering to the RetroRCON standard","archived":false,"fork":false,"pushed_at":"2018-06-17T13:35:37.000Z","size":36,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-20T23:49:31.283Z","etag":null,"topics":["grpc","grpc-php","habbo","protobuf","protobuf3","psr4","rcon","retro"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/emansom.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}},"created_at":"2018-06-11T10:48:34.000Z","updated_at":"2021-12-26T23:36:13.000Z","dependencies_parsed_at":"2022-08-21T10:50:17.195Z","dependency_job_id":null,"html_url":"https://github.com/emansom/retrorcon-php","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/emansom/retrorcon-php","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emansom%2Fretrorcon-php","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emansom%2Fretrorcon-php/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emansom%2Fretrorcon-php/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emansom%2Fretrorcon-php/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/emansom","download_url":"https://codeload.github.com/emansom/retrorcon-php/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emansom%2Fretrorcon-php/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28522309,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-17T22:11:28.393Z","status":"ssl_error","status_checked_at":"2026-01-17T22:11:27.841Z","response_time":85,"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":["grpc","grpc-php","habbo","protobuf","protobuf3","psr4","rcon","retro"],"created_at":"2026-01-17T23:33:56.833Z","updated_at":"2026-01-17T23:33:57.630Z","avatar_url":"https://github.com/emansom.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Latest Stable Version](https://poser.pugx.org/ewout/retrorcon/v/stable)](https://packagist.org/packages/ewout/retrorcon)\n[![License](https://poser.pugx.org/ewout/retrorcon/license)](https://packagist.org/packages/ewout/retrorcon)\n\n# retrorcon-php\nThis PHP library is used to get information such as users online, refreshing users' look and doing housekeeping activity such as e.g. sending room alerts by communicating with emulators adhering to the [RetroRCON](https://github.com/emansom/retrorcon) standard.\n\nThe project requires PHP 7.2 or higher and uses composer's autoloader following the PSR-4 standard.\n\n## How to use it\n1. [Install](https://grpc.io/docs/quickstart/php.html#install-the-grpc-php-extension) and [configure](https://grpc.io/docs/quickstart/php.html#update-phpini) the PHP gRPC extension\n2. [Install](https://grpc.io/docs/quickstart/php.html#1-c-implementation-for-better-performance) and [configure](https://grpc.io/docs/quickstart/php.html#1-c-implementation-for-better-performance) the PHP Protobuf extension\n3. [Install](https://getcomposer.org/doc/00-intro.md) and [learn](https://getcomposer.org/doc/01-basic-usage.md) how to use [composer](https://getcomposer.org/)\n3. Add [the composer package](https://packagist.org/packages/ewout/retrorcon) to your project by running `composer require ewout/retrorcon`\n2. Make sure to include [composer's autoloader](https://getcomposer.org/doc/01-basic-usage.md#autoloading)\n3. Look at the snippet below on how to use the library\n\n## Usage\n```php\n\u003c?php\n// Include the Composer autoloader\ninclude 'vendor/autoload.php';\n\n// Shortcut for the FQN\nuse RetroRCON\\RemoteConnection;\n\n// Create new RCON instance\n$rcon = new RemoteConnection(\n    [\n        'host' =\u003e '127.0.0.1',\n        'port' =\u003e 12309\n    ]\n);\n\n// Get online user count\n$onlineCount = $rcon-\u003egetOnlineCount();\n\n// Is user 'Ewout' online?\n$isOnline = $rcon-\u003eisUserOnline(\"Ewout\");\n\n// Supports user ID too\n$userId = 1;\n$isOnline = $rcon-\u003eisUserOnline($userId);\n\n// Refresh user figure if online (only meant to be used when figure/motto changed)\nif ($isOnline) {\n    $rcon-\u003erefreshLook($userId);\n}\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femansom%2Fretrorcon-php","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Femansom%2Fretrorcon-php","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femansom%2Fretrorcon-php/lists"}