bryglen/yii2-omnipay 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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

GitHub 信息

  • Stars: 10
  • Watchers: 1
  • Forks: 5
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-05-28