PHPackages                             cloudmario/hehe-aliyun - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. cloudmario/hehe-aliyun

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

cloudmario/hehe-aliyun
======================

阿里云SDK

1.0.3(10y ago)0211MITPHPPHP &gt;=5.3.0

Since Jan 14Pushed 10y ago1 watchersCompare

[ Source](https://github.com/CloudSide/hehe-aliyun)[ Packagist](https://packagist.org/packages/cloudmario/hehe-aliyun)[ Docs](https://github.com/CloudSide/hehe-aliyun)[ RSS](/packages/cloudmario-hehe-aliyun/feed)WikiDiscussions master Synced 4w ago

READMEChangelog (4)DependenciesVersions (5)Used By (0)

Aliyun-SDK
==========

[](#aliyun-sdk)

[![Latest Stable Version](https://camo.githubusercontent.com/af1c29a178c1bdba75ced1bda33a13c81a3a3212ee0b311c2e1fc1a4d17b5493/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f636c6f75646d6172696f2f686568652d616c6979756e2e737667)](https://packagist.org/packages/cloudmario/hehe-aliyun)[![Latest Stable Version](https://camo.githubusercontent.com/d7ebbc0dcbbbc78ecb555f2b6a1486f9d31b60e764d7cc1440a372c4f16120b4/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f767072652f636c6f75646d6172696f2f686568652d616c6979756e2e737667)](https://packagist.org/packages/cloudmario/hehe-aliyun)[![Total Downloads](https://camo.githubusercontent.com/8a0e1335007ccd5f2546a2eccd9d385c739dd9c46bb28361ad42e0f63f5bfe4d/68747470733a2f2f706f7365722e707567782e6f72672f636c6f75646d6172696f2f686568652d616c6979756e2f646f776e6c6f616473)](https://packagist.org/packages/cloudmario/hehe-aliyun)[![License](https://camo.githubusercontent.com/c78d7841d426d432eb82953863e8bd7c3c8f52e904838721831a6c440a186ebd/68747470733a2f2f706f7365722e707567782e6f72672f636c6f75646d6172696f2f686568652d616c6979756e2f6c6963656e7365)](https://packagist.org/packages/cloudmario/hehe-aliyun)

#### Requirements

[](#requirements)

- PHP &gt;= 5.3.0

#### Introduction

[](#introduction)

use composer composer.json:

```
"require": {
	"cloudmario/hehe-aliyun": "dev-master"
}
```

#### Usage

[](#usage)

##### 快速入门

[](#快速入门)

初始化一个AliyunClient

1. 与阿里云SDK相关的文件都在aliyun文件夹下；
2. AliyunClient是与API交互的接口，SDK的操作都是通过AliyunClient完成的；
3. AliyunClient可以复用，建议设置成应用程序全局唯一的；
4. 用户可以修改类AliyunClient里的变量 $connectTimeout和$readTimeout来设置SDK调用接口的连接超时时间和读取超时时间，SDK默认的连接超时时间是3秒，读取超时时间是80秒。

```
$c = new AliyunClient;
$c->accessKeyId = "";
$c->accessKeySecret = "";
$c->serverUrl = "";

//例如, 获取`云解析`的`records`
$req = new Dns20150109DescribeDomainRecordsRequest;
$req->setDomainName('hehe.com');
try {
	$resp = $c->execute($req);
	if ( $resp->DomainRecords ) {
		print_r($resp);
	} else {
		$code = $resp->Code;
		$message = $resp->Message;
		echo $code . " : " . $message;
	}
} catch (Exception $e) {
	print_r($e);
}
```

[![](https://camo.githubusercontent.com/3d7ad1313757eec59c1a1fa89f312709ca84d514c002bdb3e7773a2915f91256/687474703a2f2f736572766963652e742e73696e612e636f6d2e636e2f7769646765742f716d642f313635363336303932352f30323738316261342f342e706e67)](http://weibo.com/smcz)

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community5

Small or concentrated contributor base

Maturity61

Established project with proven stability

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

Every ~0 days

Total

4

Last Release

3820d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0af04f554606a0f1f3ecf3a7043c27f69e0e9431f8f5ab59ef4677596b5c0e1c?d=identicon)[CloudSide](/maintainers/CloudSide)

---

Tags

cloudaliyunhehecloud

### Embed Badge

![Health badge](/badges/cloudmario-hehe-aliyun/health.svg)

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

###  Alternatives

[alibabacloud/sdk

Alibaba Cloud SDK for PHP - Easier to Use Alibaba Cloud in your PHP project

5292.1M46](/packages/alibabacloud-sdk)

PHPackages © 2026

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