PHPackages                             market/marketsdk - 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. market/marketsdk

ActiveLibrary

market/marketsdk
================

10PHP

Since Nov 29Pushed 1y ago1 watchersCompare

[ Source](https://github.com/janji-X/marketsdk)[ Packagist](https://packagist.org/packages/market/marketsdk)[ RSS](/packages/market-marketsdk/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

###### 使用方法：

[](#使用方法)

###### 一.如果项目中使用composer管理包，则运行 composer require market/marketsdk

[](#一如果项目中使用composer管理包则运行-composer-require-marketmarketsdk)

###### 二.如果项目中没有使用composer管理包，则访问

[](#二如果项目中没有使用composer管理包则访问httpsgithubcomjanji-xmarketsdk)

1. 1.将代码下载到本地
2. 2.参照DemoController调用各个方法，需要将DemoController中如下5个变量替换为自己的。

- ```
        // TODO 替换接口地址
        $url = "https://testapi.oihqfjapi.online";

    ```
- ```
        // TODO 替换api_key
        $api_key = "bNDe0dspSXubd2BvJCj9U4uM19dSDS";

    ```
- ```
        // TODO 替换api_secret
        $api_secret = "wMRoKgpGuSVK6mNIJHpEWGMACC1avXwB872iFeE7EB68INUTPo";

    ```
- ```
        // TODO 替换为做市交易对的id
        self::$symbol_id = 1213;

    ```
- ```
        // TODO 替换为做市交易对的名称
        self::$symbol = 'ppt_usdt';

    ```

###  Health Score

14

—

LowBetter than 2% of packages

Maintenance30

Infrequent updates — may be unmaintained

Popularity2

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity16

Early-stage or recently created project

 Bus Factor1

Top contributor holds 71.4% 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/cd9396a0fbd1cfece48fc683b9fa7b2aca65b996b9fbf83b753916a7c194a6b5?d=identicon)[hujiajie8002](/maintainers/hujiajie8002)

---

Top Contributors

[![janji-X](https://avatars.githubusercontent.com/u/189202192?v=4)](https://github.com/janji-X "janji-X (5 commits)")[![janji404](https://avatars.githubusercontent.com/u/37573197?v=4)](https://github.com/janji404 "janji404 (2 commits)")

### Embed Badge

![Health badge](/badges/market-marketsdk/health.svg)

```
[![Health](https://phpackages.com/badges/market-marketsdk/health.svg)](https://phpackages.com/packages/market-marketsdk)
```

PHPackages © 2026

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