PHPackages                             thinkbim/huichuan-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. [HTTP &amp; Networking](/categories/http)
4. /
5. thinkbim/huichuan-php-sdk

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

thinkbim/huichuan-php-sdk
=========================

超级汇川API

V1.0.0(4y ago)123Apache-2.0PHPPHP &gt;=7.0

Since Nov 5Pushed 3y ago1 watchersCompare

[ Source](https://github.com/ThinkBIM/huichuan-php-sdk)[ Packagist](https://packagist.org/packages/thinkbim/huichuan-php-sdk)[ RSS](/packages/thinkbim-huichuan-php-sdk/feed)WikiDiscussions main Synced today

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

huichuan-php-sdk
================

[](#huichuan-php-sdk)

基于ThinkPHP框架，超级汇川广告投放。 按照官方文档进行同步升级。稳定版本1.0.0

安装
--

[](#安装)

```
composer require thinkbim/huichuan-php-sdk
```

环境要求
----

[](#环境要求)

- PHP 7+
- ThinkPHP 6+

配置文件
----

[](#配置文件)

```
#新增配置文件 config/huichuan.php

return [
    'header' => [
        'username' => '账户名称',
        'password' => '账户密码',
        'token' => '授权token',
        'target' => '代理商下的子账户',
        'source' => '请求api来源'
    ],
    'logPath' => 'Log记录目录',
    'filePath' => '报表下载目录'
];
```

使用
--

[](#使用)

```
use ThinkBIM\UCSDK\HCClient;

try {
   $client = new HCClient(['target' => '代理商账户名称']);
   $result = $client->account->getAccount();
   if(isset($result['header']['status']) && $result['header']['status'] == 0) {
        //接口请求成功
    }else{
        //接口失败处理
    }
} catch (\GuzzleHttp\Exception\GuzzleException $e) {
    // Guzzle工具请求异常
}
```

模块
--

[](#模块)

模块执行对象账户$clent-&gt;account 完成推广组$clent-&gt;group 完成推广计划$clent-&gt;campaign 完成推广创意$clent-&gt;creative 完成素材$clent-&gt;material 完成数据报表$clent-&gt;report 完成转化追踪$clent-&gt;adconvert 完成人群$clent-&gt;dmp 完成组件$clent-&gt;component 未完成订单$clent-&gt;order 未完成KR工具$clent-&gt;kr 完成钉钉排名$clent-&gt;strateg 完成参考
--

[](#参考)

- [超级汇川文档](https://www.yuque.com/siyou-lmowq/sow7i0)
- [uc-marketing-sdk](https://github.com/CloudyCity/uc-marketing-sdk)

###  Health Score

22

—

LowBetter than 23% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity45

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

1646d ago

### Community

Maintainers

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

---

Top Contributors

[![ThinkBIM](https://avatars.githubusercontent.com/u/29471873?v=4)](https://github.com/ThinkBIM "ThinkBIM (35 commits)")

---

Tags

Guzzlethinkphphuichuan

### Embed Badge

![Health badge](/badges/thinkbim-huichuan-php-sdk/health.svg)

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

###  Alternatives

[kevinrob/guzzle-cache-middleware

A HTTP/1.1 Cache for Guzzle 6. It's a simple Middleware to be added in the HandlerStack. (RFC 7234)

43117.4M104](/packages/kevinrob-guzzle-cache-middleware)[caseyamcl/guzzle_retry_middleware

Guzzle v6+ retry middleware that handles 429/503 status codes and connection timeouts

21610.7M64](/packages/caseyamcl-guzzle-retry-middleware)[php-http/guzzle7-adapter

Guzzle 7 HTTP Adapter

9057.1M553](/packages/php-http-guzzle7-adapter)[graham-campbell/guzzle-factory

Provides A Simple Guzzle Factory With Good Defaults

916.4M49](/packages/graham-campbell-guzzle-factory)[akamai-open/edgegrid-client

Implements the Akamai {OPEN} EdgeGrid Authentication specified by https://developer.akamai.com/introduction/Client\_Auth.html

482.5M6](/packages/akamai-open-edgegrid-client)[onlime/laravel-http-client-global-logger

A global logger for the Laravel HTTP Client

1935.1k](/packages/onlime-laravel-http-client-global-logger)

PHPackages © 2026

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