PHPackages                             coolelephant/aliyun-tsdbapi - 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. [HTTP &amp; Networking](/categories/http)
4. /
5. coolelephant/aliyun-tsdbapi

ActiveLibrary[HTTP &amp; Networking](/categories/http)

coolelephant/aliyun-tsdbapi
===========================

阿里云时序数据库HTTP请求接口,aliyun TSDB cloud api,阿里云TSDB http请求API

v1.6.2(5y ago)2131MITPHPPHP &gt;=7.1

Since Aug 10Pushed 5y ago1 watchersCompare

[ Source](https://github.com/alanstars/AliCloudTSDB)[ Packagist](https://packagist.org/packages/coolelephant/aliyun-tsdbapi)[ RSS](/packages/coolelephant-aliyun-tsdbapi/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (1)Versions (19)Used By (0)

AliCloudTSDB
------------

[](#alicloudtsdb)

阿里云时序数据库HTTP请求API接口封装,因为公司项目着急使用，暂时先以能用为主，后期会不断完善更新(还再调试中，请勿使用)

安装方法
----

[](#安装方法)

```
composer require coolelephant/aliyun-tsdbapi

```

使用方法
----

[](#使用方法)

本方法支持命名空间，如您的项目支持自动加载，直接实例化即可

```
$aliyunCloud = new \CoolElephant\AliCloudTSDB\AliCloudTSDB('username','password','ts-xxx.hitsdb.rds.aliyuncs.com:8242');
$response = $aliyunCloud->method('POST')->api('/api/suggest')->param(['type'=>'metrics'])->request();

```

如您的项目不支持自动加载，则需要再上面的基础上引入

```
require_once('../vendor/autoload.php');

```

返回结果已做处理，以array 数组的形式输出

```
[
    'resultcode'        =>  0,
    'resultdesc'        =>  'Success',
    'subscriptionId'    =>  'f36934ad-74b3-4666-85bc-05f0fbcb46f5',
    'relationNum'       =>  '+8616558940111',
    'callDirection'     =>  0,
    'duration'          =>  120,
    'maxDuration'       =>  1
];

```

具体返回值请查看官方接口
------------

[](#具体返回值请查看官方接口)

[点击查看官方文档](https://help.aliyun.com/document_detail/63557.html)

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community8

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

Every ~0 days

Total

18

Last Release

2151d ago

Major Versions

v0.9 → v1.02020-08-11

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/28946423?v=4)[alanstars](/maintainers/alanstars)[@alanstars](https://github.com/alanstars)

---

Top Contributors

[![alanstars](https://avatars.githubusercontent.com/u/28946423?v=4)](https://github.com/alanstars "alanstars (22 commits)")

---

Tags

Aliyun TSDB cloud SDKAliyun TSDB cloud API

### Embed Badge

![Health badge](/badges/coolelephant-aliyun-tsdbapi/health.svg)

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

###  Alternatives

[aws/aws-sdk-php

AWS SDK for PHP - Use Amazon Web Services in your PHP project

6.3k543.5M2.6k](/packages/aws-aws-sdk-php)[spatie/crawler

Crawl all internal links found on a website

2.8k18.5M66](/packages/spatie-crawler)[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k656.1k38](/packages/neuron-core-neuron-ai)[illuminate/http

The Illuminate Http package.

11937.9M6.8k](/packages/illuminate-http)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3741.3M46](/packages/tencentcloud-tencentcloud-sdk-php)[guzzlehttp/guzzle-services

Provides an implementation of the Guzzle Command library that uses Guzzle service descriptions to describe web services, serialize requests, and parse responses into easy to use model structures.

25711.0M191](/packages/guzzlehttp-guzzle-services)

PHPackages © 2026

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