{"id":18353205,"url":"https://github.com/reasno/cloudnative-hyperf","last_synced_at":"2025-04-06T11:33:20.337Z","repository":{"id":82521811,"uuid":"226247550","full_name":"Reasno/cloudnative-hyperf","owner":"Reasno","description":"A cloud native hyperf skeleton, featuring kubernetes","archived":false,"fork":false,"pushed_at":"2020-09-20T00:17:23.000Z","size":626,"stargazers_count":46,"open_issues_count":1,"forks_count":6,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-21T22:41:31.650Z","etag":null,"topics":["cloudnative","hyperf","kubernetes","php-framework"],"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/Reasno.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":"2019-12-06T04:46:08.000Z","updated_at":"2024-04-23T10:26:16.000Z","dependencies_parsed_at":"2023-11-03T06:45:09.140Z","dependency_job_id":null,"html_url":"https://github.com/Reasno/cloudnative-hyperf","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Reasno%2Fcloudnative-hyperf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Reasno%2Fcloudnative-hyperf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Reasno%2Fcloudnative-hyperf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Reasno%2Fcloudnative-hyperf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Reasno","download_url":"https://codeload.github.com/Reasno/cloudnative-hyperf/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247478152,"owners_count":20945258,"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","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":["cloudnative","hyperf","kubernetes","php-framework"],"created_at":"2024-11-05T21:38:51.238Z","updated_at":"2025-04-06T11:33:20.331Z","avatar_url":"https://github.com/Reasno.png","language":"PHP","readme":"# 这个Hyperf骨架包是啥？\nHyperf官方提供了容器镜像，配置选项又非常开放，将Hyperf部署于云端本身并不复杂。我们以Kubernetes为例，对Hyperf默认的骨架包进行一些改造，使它可以优雅的运行于Kubernetes上。\n\n请参阅这篇博客：https://guxi.me/posts/cloudnative-hyperf/\n\n# 与Hyperf官方骨架的区别\n- 增加Kubernetes健康检查路由（具体内容仍需用户自主实现）\n- 按照Docker容器习惯，将日志输出到stdout\n- 在生产环境时输出JSON格式便于集成FluentBit、ELK等收集工具。\n- 根据环境变量设置不同的日志等级\n- 默认集成Tracing和Metric组件\n- 默认使用Base模式，只开启1进程。此模式可配合Kubernetes HPA实现进程级别的扩容与缩容。\n- 由于上述原因，Metric组件默认不开启独立进程，直接从路由输出\n- Worker终止时进行Timer清理，实现在Kubernetes下优雅退出\n- Tracing默认使用Jaeger\n- 集成league/flysystem，开发环境默认使用本地文件系统，其他环境默认使用S3驱动。\n- 开启Error监听器\n- 新增helm chart，一键部署到k8s\n- 集成APIDOG\n```bash\n#helm 2\nhelm install .helm\n#helm 3\nhelm install hyperf .helm\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freasno%2Fcloudnative-hyperf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Freasno%2Fcloudnative-hyperf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freasno%2Fcloudnative-hyperf/lists"}