PHPackages                             dingq/shanghai-bank - 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. dingq/shanghai-bank

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

dingq/shanghai-bank
===================

Shanghai Bank direct connection system interface

v0.0.7(5y ago)040MITPHPPHP &gt;=7.0.0

Since Dec 17Pushed 5y ago1 watchersCompare

[ Source](https://github.com/maoSting/maoSting-shanghai-bank)[ Packagist](https://packagist.org/packages/dingq/shanghai-bank)[ RSS](/packages/dingq-shanghai-bank/feed)WikiDiscussions master Synced yesterday

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

上海银行银企直联系统接口
============

[](#上海银行银企直联系统接口)

Introduction
------------

[](#introduction)

上海银行银企直联系统接口

Requirement
-----------

[](#requirement)

1. PHP &gt;= 7.0
2. **[Composer](https://getcomposer.org/)**
3. php-curl-class/php-curl-class
4. extension mb\_string

Usage
-----

[](#usage)

```
// 编码为utf-8，会自动转化为gbk

// 配置
$config = [
    'userID'    => 'xxxxxx',
    'userPWD'   => 'xxxxxx',
    'accountNo' => 'xxxxxxxxxxxxxxxxxx',
    'sign_host' => '127.0.0.1:8010',
    'ssl_host'  => '127.0.0.1:7071',
];

$lib = new \Bank\Actions\Main($config);

// 获取银行列表
$lib->getBanks();

// 获取sessionId
$lib->getSessionId();

// 转账
$actionLib->setSerialNo($xxx); // 设置交易序列
$lib->transferCrossBank($xxxxxxxx...);

// 查询转账结果
$actionLib->setSerialNo(null);
$lib->queryTransferResult($xxx);

// 响应体
$lib->response;

```

TODO
----

[](#todo)

a lot

License
-------

[](#license)

MIT

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity43

Maturing project, gaining track record

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

7

Last Release

1964d ago

### Community

Maintainers

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

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/dingq-shanghai-bank/health.svg)

```
[![Health](https://phpackages.com/badges/dingq-shanghai-bank/health.svg)](https://phpackages.com/packages/dingq-shanghai-bank)
```

###  Alternatives

[friendsofsymfony/rest-bundle

This Bundle provides various tools to rapidly develop RESTful API's with Symfony

2.8k73.3M319](/packages/friendsofsymfony-rest-bundle)[react/http

Event-driven, streaming HTTP client and server implementation for ReactPHP

78126.4M414](/packages/react-http)[php-http/curl-client

PSR-18 and HTTPlug Async client with cURL

48247.0M384](/packages/php-http-curl-client)[smi2/phpclickhouse

PHP ClickHouse Client

83510.1M72](/packages/smi2-phpclickhouse)[geocoder-php/common-http

Common files for HTTP based Geocoders

18722.1M64](/packages/geocoder-php-common-http)[illuminate/http

The Illuminate Http package.

11936.0M5.1k](/packages/illuminate-http)

PHPackages © 2026

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