subdee/yii2-icepay
Composer 安装命令:
composer require subdee/yii2-icepay
包简介
An extension to the Icepay API for Yii2
关键字:
README 文档
README
An extension to the Icepay API for Yii2
Installation
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist subdee/yii2-icepay "*"
or add
"subdee/yii2-icepay": "*"
to the require section of your composer.json file.
Usage
Once the extension is installed, initialize it as a component in your config file:
'components' => [ ... 'icepay' => [ 'class' => 'subdee\icepay\Icepay', 'merchantID' => 'merchant id', 'secretCode' => 'secretCode', ], ... ],
and then use it anywhere in your application as a component:
$methods = \Yii::$app->icepay->getPaymentMethods();
统计信息
- 总下载量: 109
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-3.0
- 更新时间: 2014-10-15