bni-ecollection/ecoll-callback
Composer 安装命令:
composer require bni-ecollection/ecoll-callback
包简介
An extension to get BNI eCollection Callback Request
README 文档
README
An extension to get BNI eCollection Callback API
Requirements
PHP 5.4.0 and Yii2 ~2.0.5.
Installation
The preferred way to install this extension is through composer.
Either run
composer require --prefer-dist bni-ecollection/ecoll-callback "*"
or add
"bni-ecollection/ecoll-callback": "*"
to the require section of your composer.json file.
Usage
Once the extension is installed, simply include the Callback class :
use ecoll\callback\Callback;
then use it in your code like :
$call = new Callback(); $sk = "clientSecretKey"; $raw_data = 'raw php://input data'; $BniHashingClass = "\app\components\BniHashing"; $parsed_data = $call->parseData($BniHashingClass, $raw_data, $sk); print_r($parsed_data);
统计信息
- 总下载量: 1
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Apache-2.0
- 更新时间: 2017-11-15