PHPackages                             bravist/cnvex-white-finance - 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. bravist/cnvex-white-finance

ActiveLibrary[API Development](/categories/api)

bravist/cnvex-white-finance
===========================

The cnvex.cn White Finance PHP SDK

0.1.7(8y ago)1450MITPHP

Since Nov 21Pushed 8y ago1 watchersCompare

[ Source](https://github.com/bravist/cnvex-white-finance)[ Packagist](https://packagist.org/packages/bravist/cnvex-white-finance)[ RSS](/packages/bravist-cnvex-white-finance/feed)WikiDiscussions master Synced 2mo ago

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

The [e.cnvex.cn](http://bxapi.cnvex.cn/apiService/intoSchemeService.html) White Finance API PHP SDK
===================================================================================================

[](#the-ecnvexcn-white-finance-api-php-sdk)

简介
--

[](#简介)

维配白条PHP SDK，使用维配APP购买配件支持维配白条支付。

扩展包依赖

- PHP 5.6+ || PHP 7.0+
- guzzlehttp/guzzle
- phpunit/phpunit

安装 Cnvex.cn PHP SDK
-------------------

[](#安装-cnvexcn-php-sdk)

### 使用[composer](https://getcomposer.org/)

[](#使用composer)

> composer 是php的包管理工具， 通过composer.json里的配置管理依赖的包，同时可以在使用类时自动加载对应的包, 在你的composer.json中添加如下依赖

执行

```
composer require bravist/cnvex-white-finance

```

使用 Composer 的 autoload 引入

```
require_once('vendor/autoload.php');
```

### 手动引入

[](#手动引入)

```
require_once('/path/to/cnvex-white-finance/api.php');
```

For Laravel
-----------

[](#for-laravel)

Add the following line to the section `providers` of `config/app.php`:

```
'providers' => [
    //...
    Bravist\CnvexWhiteFinance\ServiceProvider::class,
],
```

publish the configuration:

```
php artisan vendor:publish --provider="Bravist\CnvexWhiteFinance\ServiceProvider"

```

as optional, you can use facade:

```
'aliases' => [
    'CnvexWhiteFinance' => Bravist\CnvexWhiteFinance\Facade\CnvexWhiteFinance::class
],
```

support package auto discover on laravel 5.5.

For Lumen
---------

[](#for-lumen)

Add the following line to `bootstrap/app.php` after `// $app->withEloquent();`

```
...
// $app->withEloquent();
$app->register(Bravist\CnvexWhiteFinance\ServiceProvider::class);
...
```

Usage
-----

[](#usage)

```
>>> CnvexWhiteFinance::supportWhiteFinance('5131261983082700301')
=> {#1239
     +"result": true,
     +"errorCode": 0,
     +"errorMessage": "success",
     +"data": {#1237
       +"creditAccountNumber": "5131261983082700301",
       +"idCardType": "身份证",
       +"idCardNumber": "5131261983082700301",
       +"effectiveDate": 1479710296558,
       +"expiredDate": 1605940696558,
       +"creditLimitAmount": 10000,
       +"frozenAmount": 0,
       +"availableAmount": 9400,
       +"usedAmount": 300,
       +"overdue": true,
       +"lastRepayDate": 1511159896558,
       +"lastRepayAmount": 0,
       +"overdueInterestAmount": 0,
       +"loanAccountCount": 0,
       +"acLoanAccountCount": 0,
       +"overdueLoanAccountCount": 0,
       +"overLoanAccountCount": 0,
       +"createDate": 1479710296558,
       +"lastUpdateDate": 1479710296558,
     },
   }
```

more see phpunit from tests directory.

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity58

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

Total

8

Last Release

3086d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/195282e1beeb9475b56cbf1b7fcb9c28f9e3232834181d3e95b3f150e3be4b5a?d=identicon)[bravist](/maintainers/bravist)

---

Top Contributors

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

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/bravist-cnvex-white-finance/health.svg)

```
[![Health](https://phpackages.com/badges/bravist-cnvex-white-finance/health.svg)](https://phpackages.com/packages/bravist-cnvex-white-finance)
```

###  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)
