PHPackages                             zrcing/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. [API Development](/categories/api)
4. /
5. zrcing/aliyun-ots-sdk-php

ActiveLibrary[API Development](/categories/api)

zrcing/aliyun-ots-sdk-php
=========================

Aliyun OTS SDK for PHP

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

Since Mar 24Pushed 9y ago1 watchersCompare

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

READMEChangelogDependencies (2)Versions (2)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

Popularity13

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity58

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

3385d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3fba3f14cc1f35bfc9d5504bd212343256b393982415a4581ab16fb8efb0cf1e?d=identicon)[liaogling](/maintainers/liaogling)

---

Top Contributors

[![zrcing](https://avatars.githubusercontent.com/u/1124192?v=4)](https://github.com/zrcing "zrcing (2 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

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

The PHP Agentic Framework.

2.0k496.1k33](/packages/neuron-core-neuron-ai)[avalara/avataxclient

Client library for Avalara's AvaTax suite of business tax calculation and processing services. Uses the REST v2 API.

528.3M7](/packages/avalara-avataxclient)[eslazarev/wildberries-sdk

Wildberries OpenAPI clients (generated).

252.5k](/packages/eslazarev-wildberries-sdk)[files.com/files-php-sdk

Files.com PHP SDK

2478.1k](/packages/filescom-files-php-sdk)[aimeos/prisma

A powerful PHP package for integrating media related Large Language Models (LLMs) into your applications

1942.4k4](/packages/aimeos-prisma)

PHPackages © 2026

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