PHPackages                             yoho/aliyun-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. yoho/aliyun-sdk

ActiveLibrary[API Development](/categories/api)

yoho/aliyun-sdk
===============

SDK for aliyun service develop base on axios

0.5.5(8y ago)018Apache-2.0PHPPHP &gt;=7.0

Since Apr 2Pushed 8y agoCompare

[ Source](https://github.com/Yohox/aliyun-sdk)[ Packagist](https://packagist.org/packages/yoho/aliyun-sdk)[ Docs](https://github.com/AxiosCros/aliyun-sdk)[ RSS](/packages/yoho-aliyun-sdk/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (4)Versions (2)Used By (0)

> The set of Aliyun Cloud Service SDK ,Support for composer library.

[![Latest Stable Version](https://camo.githubusercontent.com/f671ce83b4df97b479d7c7fb8329e019acb2a33e21e0a2657842a3939122bebd/68747470733a2f2f706f7365722e707567782e6f72672f6178696f732f616c6979756e2d73646b2f762f737461626c65)](https://packagist.org/packages/axios/aliyun-sdk)[![License](https://camo.githubusercontent.com/556ac3d2dc433b850adf2d99861bd1e14d6156598c1d7d73b915e77039f7c6fe/68747470733a2f2f706f7365722e707567782e6f72672f6178696f732f616c6979756e2d73646b2f6c6963656e7365)](https://packagist.org/packages/axios/aliyun-sdk)

> [Aliyun Cloud OSS official documentation center](https://help.aliyun.com/)

Env
---

[](#env)

- PHP 7.0+.
- CURL extension.

Install
-------

[](#install)

```
composer require axios/aliyun-sdk
```

Development Plan
----------------

[](#development-plan)

- VOD -&gt; Done
- CDN -&gt; Done
- OSS -&gt; Base on aliyun/aliyun-oss-php-sdk
- SMS -&gt; base on flc/dysms
- MTS -&gt; Done
- ECS -&gt; in development
- APIGateway -&gt; in development
- ......

How To Use
----------

[](#how-to-use)

- require composer autoload

```
require_once __DIR__. "/../vendor/autoload.php";
```

- auth

```
$access_id = "testAccessKeyId";
$access_secret = "testAccessKeySecret";

\aliyun\sdk\Aliyun::auth($access_id,$access_secret);
```

- Setting Region

```
\aliyun\sdk\Aliyun::region('cn-shanghai');
```

- Request

```
$response = \aliyun\sdk\vod\Vod::GetCategories()
    ->setCateId(-1)
    ->setPageNo(4)
    ->setPageSize(10)
    ->request();

// Or Request like this
$request = \aliyun\sdk\vod\Vod::GetCategories();
$request->setCateId(-1);
$request->setPageNo(4);
$request->setPageSize(10)
$response = $request->request();
```

- Get Response Content

```
dump($response->getContent());
```

Customized Request
------------------

[](#customized-request)

```
use aliyun\sdk\vod\request\VodCommon;

class Example extends VodCommon {
    public function doSomething(){
        //setting Action
        $this->setActionName("action_name");

        //setting parameter
        $this->setParam("param_name","param_value");

        return $this->request();
    }
}
```

License
-------

[](#license)

licensed under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0.html)

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 99.6% 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

2962d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/289abe48a5ca7596fa1e62a6278a119c630e4c15344178a17e2ed4b95587ac2a?d=identicon)[Yohox](/maintainers/Yohox)

---

Top Contributors

[![AxiosLeo](https://avatars.githubusercontent.com/u/13862149?v=4)](https://github.com/AxiosLeo "AxiosLeo (238 commits)")[![Yohox](https://avatars.githubusercontent.com/u/23305206?v=4)](https://github.com/Yohox "Yohox (1 commits)")

---

Tags

aliyunaliyun-sdkaliyun-service

### Embed Badge

![Health badge](/badges/yoho-aliyun-sdk/health.svg)

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

###  Alternatives

[alibabacloud/client

Alibaba Cloud Client for PHP - Use Alibaba Cloud in your PHP project

2223.5M367](/packages/alibabacloud-client)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3731.2M42](/packages/tencentcloud-tencentcloud-sdk-php)[aliyunapi/php-aliyun-open-api-live

aliyunsdk

213.7k](/packages/aliyunapi-php-aliyun-open-api-live)

PHPackages © 2026

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