{"id":17359072,"url":"https://github.com/zishang520/aliyun-core","last_synced_at":"2025-10-20T04:53:35.201Z","repository":{"id":57015787,"uuid":"162963626","full_name":"zishang520/aliyun-core","owner":"zishang520","description":"阿里云核心sdk","archived":false,"fork":false,"pushed_at":"2021-01-19T08:25:33.000Z","size":53,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-27T16:16:57.124Z","etag":null,"topics":["aliyun-sdk"],"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/zishang520.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}},"created_at":"2018-12-24T07:32:36.000Z","updated_at":"2021-01-19T08:25:35.000Z","dependencies_parsed_at":"2022-08-22T09:31:55.950Z","dependency_job_id":null,"html_url":"https://github.com/zishang520/aliyun-core","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/zishang520/aliyun-core","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zishang520%2Faliyun-core","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zishang520%2Faliyun-core/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zishang520%2Faliyun-core/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zishang520%2Faliyun-core/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zishang520","download_url":"https://codeload.github.com/zishang520/aliyun-core/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zishang520%2Faliyun-core/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":280012798,"owners_count":26258528,"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-20T02:00:06.978Z","response_time":62,"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":["aliyun-sdk"],"created_at":"2024-10-15T19:07:59.295Z","updated_at":"2025-10-20T04:53:35.181Z","avatar_url":"https://github.com/zishang520.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 阿里云核心SDK(集成STS)\n\n### 安装包\n```bash\ncomposer require luoyy/aliyun-core\n```\n###### 在 app.php 中注册服务器提供者(Laravel5.5+支持自动发现)\n```php\nluoyy\\AliCore\\Providers\\AcsClientServiceProvider\n```\n###### ENV\n```env\n#阿里云CORE配置\nALI_REGION_ID=\nALI_ACCESS_KEY_ID=\nALI_ACCESS_KEY_SECRET=\n```\n\n### Quick Sample Usage\n```php\n/**\n * STS DEMO\n */\nuse luoyy\\AliCore\\Facades\\AcsClient;\nuse luoyy\\AliCore\\Sts\\Request\\AssumeRoleRequest;\n\n\n$request = new AssumeRoleRequest();\n$request-\u003esetRoleSessionName(\"client_name\");\n$request-\u003esetRoleArn(/*role_arn*/);\n$request-\u003esetPolicy(/*policy*/);\n$request-\u003esetDurationSeconds(/*token_expire_time*/);\n$response = AcsClient::getAcsResponse($request);\nvar_dump($response);\n```\n#### 相关包\n| 包名 | 描述 | 版本 |\n| :------------ | :------------ | :------------ |\n| luoyy/aliyun-core-sms |  短信sdk | v1.0.1|\n| luoyy/aliyun-core-pns |  手机号认证sdk | v1.0.0|\n\n\n### 更新日志\n* `2021.01.19`：添加手机号认证sdk\n* `2020.09.30`：更新版本到2.0，更新SDK，除了STS其它模块改为composer包发布\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzishang520%2Faliyun-core","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzishang520%2Faliyun-core","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzishang520%2Faliyun-core/lists"}