Download the PHP package troynew/cnvex without Composer
On this page you can find all versions of the php package troynew/cnvex. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download troynew/cnvex
More information about troynew/cnvex
Files in troynew/cnvex
Download troynew/cnvex
More information about troynew/cnvex
Files in troynew/cnvex
Please rate this library. Is it a good library?
Informations about the package cnvex
The e.cnvex.cn API PHP SDK
简介
企账通2.0 是重庆汽摩交易所其他企业级交易计算工具,本项目是PHP版本接口实现,官方接口文档参考这里。目前支持以下功能:
- 微信、支付宝原生APP支付,二维码支付
- 账户余额支付(转账)
- 账户注册、绑定银行卡
- 查询交易记录
另外,项目支持Laravel Framework快速集成,所有接口都已做单元测试,具体参考tests
目录文件。
扩展包依赖
- PHP 5.6+ || PHP 7.0+
- guzzlehttp/guzzle
- phpunit/phpunit
- illuminate/log
安装 Cnvex.cn PHP SDK
使用composer
composer 是php的包管理工具, 通过composer.json里的配置管理依赖的包,同时可以在使用类时自动加载对应的包, 在你的composer.json中添加如下依赖
执行
使用 Composer 的 autoload 引入
手动引入
For Laravel
Add the following line to the section providers
of config/app.php
:
publish the configuration:
as optional, you can use facade:
support package auto discover on laravel 5.5.
Usage
For Lumen
Add the following line to bootstrap/app.php
after // $app->withEloquent();
开放接口
- 查询用户信息 queryUser
- 查询用户余额 queryUserBalance
- 发送短信验证码 sendCaptcha
- 注册个人类型用户registerUser
- 查询单笔转账交易 queryTransfer
- 统一收单交易创建接口 createTransaction
- 微信扫码支付 payWechatQrCode
- 查询多笔转账交易记录 queryTransfers
- 查询用户绑卡记录 queryBankCards
- 绑定对私银行卡 bindPrivateBankCard
- 绑定对公/对公&&对私银行卡 bindPublicBankCard
- 解绑银行卡 unbindBankCard
All versions of cnvex with dependencies
PHP Build Version
Package Version
Requires
php Version
^5.5.9 || ^7.0
guzzlehttp/guzzle Version ^6.3
illuminate/support Version ^5.1
nesbot/carbon Version ^1.20
guzzlehttp/guzzle Version ^6.3
illuminate/support Version ^5.1
nesbot/carbon Version ^1.20
The package troynew/cnvex contains the following files
Loading the files please wait ....