{"id":18345854,"url":"https://github.com/hyperf/roc-generator","last_synced_at":"2025-10-25T06:36:27.917Z","repository":{"id":142257980,"uuid":"612428503","full_name":"hyperf/roc-generator","owner":"hyperf","description":"Generator for `hyperf/roc` and `hyperf/rpc-multiplex`.","archived":false,"fork":false,"pushed_at":"2023-03-26T14:44:57.000Z","size":156,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-06-13T11:57:44.731Z","etag":null,"topics":[],"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/hyperf.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},"funding":{"open_collective":"hyperf","custom":"https://hyperf.wiki/#/zh-cn/donate"}},"created_at":"2023-03-10T23:39:06.000Z","updated_at":"2024-12-17T14:51:01.000Z","dependencies_parsed_at":"2023-05-02T05:02:58.616Z","dependency_job_id":null,"html_url":"https://github.com/hyperf/roc-generator","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/hyperf/roc-generator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyperf%2Froc-generator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyperf%2Froc-generator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyperf%2Froc-generator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyperf%2Froc-generator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hyperf","download_url":"https://codeload.github.com/hyperf/roc-generator/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyperf%2Froc-generator/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":280917411,"owners_count":26413205,"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-10-25T02:00:06.499Z","response_time":81,"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":[],"created_at":"2024-11-05T21:09:45.818Z","updated_at":"2025-10-25T06:36:27.903Z","avatar_url":"https://github.com/hyperf.png","language":"PHP","readme":"# ROCGenerator\n\n## 如何使用\n\n本地必须安装 `protoc` 脚本\n\n### PHP\n\n- 使用源码\n\n```shell\ncd ./php\nphp -dphar.readonly=Off main.php phar:build -b main.php --name roc.phar\nphp roc.phar gen:roc example.proto\n```\n\n- 使用打包好的二进制文件\n\n```shell\nwget https://github.com/hyperf/roc-generator/releases/download/v0.1.0/roc-php_8.1_macos.x86_64\nmv roc-php_8.1_macos.x86_64 /usr/local/bin/roc-php\nroc-php gen:roc example.proto\n```\n","funding_links":["https://opencollective.com/hyperf","https://hyperf.wiki/#/zh-cn/donate"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhyperf%2Froc-generator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhyperf%2Froc-generator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhyperf%2Froc-generator/lists"}