{"id":18345737,"url":"https://github.com/hyperf/nacos","last_synced_at":"2026-02-24T11:13:08.944Z","repository":{"id":46778207,"uuid":"280906530","full_name":"hyperf/nacos","owner":"hyperf","description":"A PHP implementation of Nacos OpenAPI, particularly adapt for Hyperf.","archived":false,"fork":false,"pushed_at":"2026-02-01T04:43:05.000Z","size":162,"stargazers_count":22,"open_issues_count":7,"forks_count":15,"subscribers_count":4,"default_branch":"master","last_synced_at":"2026-02-01T15:48:28.534Z","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"open_collective":"hyperf","custom":"https://hyperf.wiki/#/zh-cn/donate"}},"created_at":"2020-07-19T16:34:53.000Z","updated_at":"2026-02-01T04:43:09.000Z","dependencies_parsed_at":"2023-02-10T01:31:24.040Z","dependency_job_id":"632d2e81-64e8-4e11-a185-1afbb73a6a7b","html_url":"https://github.com/hyperf/nacos","commit_stats":null,"previous_names":[],"tags_count":62,"template":false,"template_full_name":null,"purl":"pkg:github/hyperf/nacos","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyperf%2Fnacos","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyperf%2Fnacos/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyperf%2Fnacos/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyperf%2Fnacos/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hyperf","download_url":"https://codeload.github.com/hyperf/nacos/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyperf%2Fnacos/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29780604,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-24T10:45:18.109Z","status":"ssl_error","status_checked_at":"2026-02-24T10:45:09.911Z","response_time":75,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":[],"created_at":"2024-11-05T21:09:19.107Z","updated_at":"2026-02-24T11:13:08.925Z","avatar_url":"https://github.com/hyperf.png","language":"PHP","readme":"# Nacos SDK\n\n## 安装\n\n```shell\ncomposer require hyperf/nacos\n```\n\n## 使用\n\n```php\n\u003c?php\n\nuse Hyperf\\Nacos\\Application;\nuse Hyperf\\Nacos\\Config;\nuse Hyperf\\Codec\\Json;\n\n$application = new Application(new Config([\n    'username' =\u003e 'nacos',\n    'password' =\u003e 'nacos',\n    'guzzle_config' =\u003e [\n        'headers' =\u003e [\n            'charset' =\u003e 'UTF-8',\n        ],\n    ],\n]));\n\n$response = $application-\u003eauth-\u003elogin('nacos', 'nacos');\n$result = Json::decode((string) $response-\u003egetBody());\n\n$response = $application-\u003econfig-\u003eget('hyperf-service-config', 'DEFAULT_GROUP');\n$result = Json::decode((string) $response-\u003egetBody());\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%2Fnacos","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhyperf%2Fnacos","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhyperf%2Fnacos/lists"}