PHPackages                             conkayyan/aliyun-tablestore-php-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. [Database &amp; ORM](/categories/database)
4. /
5. conkayyan/aliyun-tablestore-php-sdk

ActiveLibrary[Database &amp; ORM](/categories/database)

conkayyan/aliyun-tablestore-php-sdk
===================================

Aliyun OTS SDK for PHP

017PHP

Since Jan 25Pushed 8y agoCompare

[ Source](https://github.com/conkayyan/aliyun-tablestore-php-sdk)[ Packagist](https://packagist.org/packages/conkayyan/aliyun-tablestore-php-sdk)[ RSS](/packages/conkayyan-aliyun-tablestore-php-sdk/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependenciesVersions (1)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

20

—

LowBetter than 13% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/313dd4e8f90451d1cde7513d788321c35c443bee4c0eb5c9784a7a409b5aa73c?d=identicon)[conkayyan](/maintainers/conkayyan)

---

Top Contributors

[![conkayyan](https://avatars.githubusercontent.com/u/29376097?v=4)](https://github.com/conkayyan "conkayyan (3 commits)")

### Embed Badge

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

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

###  Alternatives

[jdorn/sql-formatter

a PHP SQL highlighting library

3.9k116.5M113](/packages/jdorn-sql-formatter)[propel/propel1

Propel is an open-source Object-Relational Mapping (ORM) for PHP5.

8351.6M87](/packages/propel-propel1)

PHPackages © 2026

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