PHPackages                             zsd/aliyun-open-api-sdk - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. zsd/aliyun-open-api-sdk

ActiveLibrary[API Development](/categories/api)

zsd/aliyun-open-api-sdk
=======================

阿里云公共api访问sdk

v1.0.0(6y ago)19[1 issues](https://github.com/zsdPHPer/aliyun-open-api-sdk/issues)PHP

Since May 17Pushed 6y ago1 watchersCompare

[ Source](https://github.com/zsdPHPer/aliyun-open-api-sdk)[ Packagist](https://packagist.org/packages/zsd/aliyun-open-api-sdk)[ RSS](/packages/zsd-aliyun-open-api-sdk/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (2)Used By (0)

aliyun-open-api-sdk
===================

[](#aliyun-open-api-sdk)

阿里云开放接口api的通用请求sdk

引入
==

[](#引入)

```
composer require zsd/aliyun-open-api-sdk
```

举例
==

[](#举例)

```
//举例查询余额
/** @var \AOApi\AliyunOpenApi $aliyunApi */
$aliyunApi       = new \AOApi\AliyunOpenApi();
$accessKeyId     = 'xxxx'; //账号的 accessKeyId
$accessKeySecret = 'xxx'; //账号的 accessKeySecret

$sendResult = $aliyunApi->request(
    $accessKeyId,
    $accessKeySecret,
    "business.aliyuncs.com", //使用时注意 需要根据阿里云提供的不同公共API的要求进行修改.
    array_merge([], [
        "RegionId" => "cn-hangzhou",
        "Action"   => "QueryAccountBalance", //使用时注意 `Action`,`Version` 需要根据阿里云提供的不同公共API的要求进行修改.
        "Version"  => "2017-12-14",
    ]),
    true //启用https
);
//处理返回结果
var_dump($sendResult);
```

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

2549d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/298190dbc58f9dc1c16f1b092e5af34b51d2f4d1dc14fcd40dc54797ed9241b3?d=identicon)[zsdPHPer](/maintainers/zsdPHPer)

---

Top Contributors

[![zsd-it](https://avatars.githubusercontent.com/u/19280738?v=4)](https://github.com/zsd-it "zsd-it (1 commits)")

### Embed Badge

![Health badge](/badges/zsd-aliyun-open-api-sdk/health.svg)

```
[![Health](https://phpackages.com/badges/zsd-aliyun-open-api-sdk/health.svg)](https://phpackages.com/packages/zsd-aliyun-open-api-sdk)
```

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M475](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M270](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M186](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M34](/packages/facebook-php-business-sdk)[microsoft/microsoft-graph

The Microsoft Graph SDK for PHP

65723.5M95](/packages/microsoft-microsoft-graph)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
