PHPackages                             dwn/partner-client - 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. dwn/partner-client

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

dwn/partner-client
==================

this a sdk for dwn to send request

v1.0.9(6y ago)030PHPPHP &gt;=5.0.0

Since Sep 19Pushed 6y ago1 watchersCompare

[ Source](https://github.com/DWNEcosystem/partner-client)[ Packagist](https://packagist.org/packages/dwn/partner-client)[ RSS](/packages/dwn-partner-client/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (11)Used By (0)

dwn-client
==========

[](#dwn-client)

dwn 第三方对接类库

安装
==

[](#安装)

> composer require dwn/partner-client

### 使用示例

[](#使用示例)

```
use dwn\Express;
$client=new Express('89dtd90a','b966d6bbc3ac62dccd7b3c3c96b277c1');
$client->setOption('getUserInfo')->setParams(["authorization_code"=>"45e8c62cmchihijng9lv5okk1i"])->execute();

```

### 方法

[](#方法)

```
 1、setOption 选择对应的操作
        sendCode        发送验证码
        authorization   用户登录授权
        getUserInfo     获取用户信息
        exchange        dwn兑换其他货币
        recharge        其他货币兑换dwn
        earnings        发放收益
        ratio           获取实时汇率
        getNetworks     获取用户关联关系
        exist           判断用户是否存在
        register        用户注册
        login          用户通过session登录

```

```
 2、setParams 设置上行数据

```

```
 3、execute  执行请求

```

\##api文档地址

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 50% 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 ~6 days

Recently: every ~13 days

Total

10

Last Release

2415d ago

### Community

Maintainers

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

---

Top Contributors

[![gaohaifu](https://avatars.githubusercontent.com/u/37990734?v=4)](https://github.com/gaohaifu "gaohaifu (7 commits)")[![luodexun](https://avatars.githubusercontent.com/u/32090377?v=4)](https://github.com/luodexun "luodexun (7 commits)")

### Embed Badge

![Health badge](/badges/dwn-partner-client/health.svg)

```
[![Health](https://phpackages.com/badges/dwn-partner-client/health.svg)](https://phpackages.com/packages/dwn-partner-client)
```

###  Alternatives

[php-http/cache-plugin

PSR-6 Cache plugin for HTTPlug

25025.5M80](/packages/php-http-cache-plugin)[illuminate/http

The Illuminate Http package.

11937.2M6.6k](/packages/illuminate-http)[rdkafka/rdkafka

A PHP extension for Kafka

2.2k20.0k1](/packages/rdkafka-rdkafka)[httpsoft/http-message

Strict and fast implementation of PSR-7 and PSR-17

87930.4k113](/packages/httpsoft-http-message)[mezzio/mezzio-router

Router subcomponent for Mezzio

265.3M84](/packages/mezzio-mezzio-router)[serpapi/google-search-results-php

Get Google, Bing, Baidu, Ebay, Yahoo, Yandex, Home depot, Naver, Apple, Duckduckgo, Youtube search results via SerpApi.com

69122.6k](/packages/serpapi-google-search-results-php)

PHPackages © 2026

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