PHPackages                             moolex/aliyun-ots-sdk-php - 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. moolex/aliyun-ots-sdk-php

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

moolex/aliyun-ots-sdk-php
=========================

Aliyun OTS SDK for PHP

2.1.1(9y ago)0196PHPPHP &gt;=5.5

Since Nov 16Pushed 9y ago1 watchersCompare

[ Source](https://github.com/uuland/aliyun-ots-sdk-php)[ Packagist](https://packagist.org/packages/moolex/aliyun-ots-sdk-php)[ Docs](http://www.aliyun.com/product/ots)[ RSS](/packages/moolex-aliyun-ots-sdk-php/feed)WikiDiscussions master Synced 4w ago

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

Aliyun TableStore SDK for PHP
=============================

[](#aliyun-tablestore-sdk-for-php)

说明
==

[](#说明)

Aliyun OTS SDK for PHP，用来通过PHP访问阿里云OTS服务。

适用于PHP 5.3 以及以上版本。

当前仅支持Linux，其他系统需要用户自己改造代码支持

使用步骤
====

[](#使用步骤)

1. 请确认你的PHP版本为 5.3 或更高。你可以通过运行 php --version 获知你当前使用的PHP版本。
2. 设置PHP的时区，在 php.ini（要知道你正在使用的php.ini文件的位置，请执行命令 php --ini）中添加一行：

    date.timezone = Asia/Shanghai （请根据你当地的时区进行设置）
3. 设置PHP的内存使用限制为512M或者更高。同样是在 php.ini 中修改：

    memory\_limit = 512M
4. 下载SDK并解压到本地。
5. 安装依赖。在解压后的目录中执行命令：

    php tools/composer.phar install
6. 生成 autoload。 在解压后的目录中执行命令：

    php tools/composer.phar dumpautoload --no-dev

    这条命令会生成 vendor/autoload.php 文件。
7. 在你的PHP代码文件中引用（require）上一个步骤中生成的 vendor/autoload.php 文件。

编程文档
====

[](#编程文档)

我们提供了HTML格式的文档，请在浏览器中打开这些文档。

1. 文档主页：docs/index.html
2. SDK的调用入口 OTSClient：docs/classes/Aliyun.OTS.OTSClient.html

    这个文档中有丰富的代码样例，详细说明了每个API的使用方法。
3. 客户端配置：docs/classes/Aliyun.OTS.OTSClientConfig.html
4. 重试策略：docs/namespaces/Aliyun.OTS.Retry.html
5. 服务端返回的错误：docs/classes/Aliyun.OTS.OTSServerException.html
6. 客户端返回的错误：docs/classes/Aliyun.OTS.OTSClientException.html

帮助和支持 FAQ
=========

[](#帮助和支持-faq)

- 阿里云官网论坛:
- 云栖社区:
- TableStore官网:

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 68.8% 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 ~54 days

Total

2

Last Release

3459d ago

PHP version history (2 changes)v2.1.0PHP &gt;=5.3

2.1.1PHP &gt;=5.5

### Community

Maintainers

![](https://www.gravatar.com/avatar/ee5620a146ee71289cb4ad63d06cdfcbfd679eb02b446f78bd772df8342b43a0?d=identicon)[moyo](/maintainers/moyo)

---

Top Contributors

[![red-chen](https://avatars.githubusercontent.com/u/4748095?v=4)](https://github.com/red-chen "red-chen (11 commits)")[![moolex](https://avatars.githubusercontent.com/u/1132321?v=4)](https://github.com/moolex "moolex (4 commits)")[![safecat](https://avatars.githubusercontent.com/u/3821031?v=4)](https://github.com/safecat "safecat (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/moolex-aliyun-ots-sdk-php/health.svg)

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

###  Alternatives

[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k496.1k33](/packages/neuron-core-neuron-ai)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3661.2M46](/packages/tencentcloud-tencentcloud-sdk-php)[civicrm/civicrm-core

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

751284.3k37](/packages/civicrm-civicrm-core)[roundcube/roundcubemail

The Roundcube Webmail suite

7.0k1.4k3](/packages/roundcube-roundcubemail)[spatie/laravel-export

Create a static site bundle from a Laravel app

672139.5k6](/packages/spatie-laravel-export)[nfse-nacional/nfse-php

This is my package nfse

1523.1k](/packages/nfse-nacional-nfse-php)

PHPackages © 2026

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