PHPackages                             sureyee/rock-fintech - 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. [API Development](/categories/api)
4. /
5. sureyee/rock-fintech

ActiveLibrary[API Development](/categories/api)

sureyee/rock-fintech
====================

rock fintch api

v1.1.0(7y ago)1571MITPHPPHP &gt;=7.1.0

Since Aug 14Pushed 6y ago1 watchersCompare

[ Source](https://github.com/SureYee/rock-fintech)[ Packagist](https://packagist.org/packages/sureyee/rock-fintech)[ RSS](/packages/sureyee-rock-fintech/feed)WikiDiscussions master Synced today

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

钜石接口API
=======

[](#钜石接口api)

#### 项目介绍

[](#项目介绍)

钜石api接口

#### 软件架构

[](#软件架构)

软件架构说明

#### 安装教程

[](#安装教程)

1. `composer require sureyee/rock-fintech:~1.0`

#### 使用说明

[](#使用说明)

```
// 实例化Client，传入配置信息
$clinet = new Sureyee\RockFinTech\Client($rft_key, $rft_secret, $rft_org, $pub_key, $pri_key)

// 实例化请求对象
$request = new Request('create_account_p');

$userinfo = [
    // ...
];

//设定参数，发起请求。
$response = $client->request($request->setParams($userinfo));

if ($response->isSuccess()) {
    // [ItemResponse]
    $items = $response->getItems();
} else {
    echo $reponse->getMessage();
}
```

#### 生产环境和测试环境

[](#生产环境和测试环境)

所有的 `Request` 默认调用测试环境的api， 如果切换到正式环境，需要在发送请求之前执行 `Request::setEnv('production')`, 将所有`Request` 对象的环境设置成 `production`。

#### 接口调用

[](#接口调用)

接口调用时，公共参数已经进行了封装，直接调用 `setParams` 方法传入接口对应字段即可。 如果需要修改公共参数，通过`setParam()` 或在 `setParams()` 中传入相应的字段信息即可替换原有的数据。

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity59

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

Total

3

Last Release

2727d ago

### Community

Maintainers

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

---

Top Contributors

[![SureYee](https://avatars.githubusercontent.com/u/20300761?v=4)](https://github.com/SureYee "SureYee (1 commits)")

---

Tags

rockfintech

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/sureyee-rock-fintech/health.svg)

```
[![Health](https://phpackages.com/badges/sureyee-rock-fintech/health.svg)](https://phpackages.com/packages/sureyee-rock-fintech)
```

###  Alternatives

[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3731.2M42](/packages/tencentcloud-tencentcloud-sdk-php)[convertkit/convertkitapi

Kit PHP SDK for the Kit API

2167.1k1](/packages/convertkit-convertkitapi)[mapado/rest-client-sdk

Rest Client SDK for hydra API

1125.9k2](/packages/mapado-rest-client-sdk)

PHPackages © 2026

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