PHPackages                             polocai/dc\_api\_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. polocai/dc\_api\_sdk\_php

ActiveLibrary

polocai/dc\_api\_sdk\_php
=========================

the data center api by php edition

v1.2(5y ago)013MITPHPPHP &gt;=5.5

Since May 22Pushed 5y ago1 watchersCompare

[ Source](https://github.com/ghostwing412/POLO_DCAPI_SDK_PHP)[ Packagist](https://packagist.org/packages/polocai/dc_api_sdk_php)[ RSS](/packages/polocai-dc-api-sdk-php/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (3)Dependencies (1)Versions (4)Used By (0)

dc\_api\_sdk\_php
=================

[](#dc_api_sdk_php)

数据中心接口PHP版本SDK

项目地址:[Github](https://github.com/ghostwing412/POLO_DCAPI_SDK_PHP)

### 安装说明

[](#安装说明)

- 可直接从`Github`上面下载，项目中包含`autoload.php`可加载命名空间规则
- `composer require polocai/dc_api_sdk_php`加入composer包管理

### `example`目录为调用实例

[](#example目录为调用实例)

### 调用说明

[](#调用说明)

- 配置

    ```
      'url_prefix' => '',//接口访问链接前缀；文档中域名说明，不同域名区分沙盒模式及生产模式
      'key' => '',//用户key
      'secret' => ''//用户secret`

    ```
- 走势图`htmlData`接口参数`url`

    1. 必须包含`:cate_code`，`:c_code`，`:chart_code`关键字
    2. 链接中`{xxx:(cate_code)xxx}`或者`{xxx:cate_code}`大括号内的内容将被cate\_code参数替换

        1. 如果该参数为空，大括号整个以空值替换
        2. 如果该参数值为`zst`，那么替换结果为`xxxzstxxx`以及`xxxzst`

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity56

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 ~190 days

Total

3

Last Release

2169d ago

### Community

Maintainers

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

---

Top Contributors

[![ghostwing412](https://avatars.githubusercontent.com/u/13478229?v=4)](https://github.com/ghostwing412 "ghostwing412 (5 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/polocai-dc-api-sdk-php/health.svg)

```
[![Health](https://phpackages.com/badges/polocai-dc-api-sdk-php/health.svg)](https://phpackages.com/packages/polocai-dc-api-sdk-php)
```

PHPackages © 2026

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