bryglen/yii2-omnipay
最新稳定版本:1.0.0
Composer 安装命令:
composer require bryglen/yii2-omnipay
包简介
thephpleague/omnipay for Yii 2
README 文档
README
Yii 2 use omni pay based on https://github.com/thephpleague/omnipay
Installation
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist bryglen/yii2-omnipay "1.0.0"
or add
"bryglen/yii2-omnipay": "1.0.0"
to the require section of your composer.json file.
in your main.php your configuration would look like this
'components' => [ 'stripe' => [ 'class' => 'bryglen\omnipay\OmniPayComponent', 'name' => 'Stripe', // optional parameters //'testMode' => true, //'currency' => 'your_currency' 'parameters' => [ 'apiKey' => 'your_api_key' ] ] ]
统计信息
- 总下载量: 6.95k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 10
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-05-28