2017 © Pedro Peláez
 

yii2-extension yii2-omnipay

thephpleague/omnipay for Yii 2

image

bryglen/yii2-omnipay

thephpleague/omnipay for Yii 2

  • Thursday, May 28, 2015
  • by bryglen
  • Repository
  • 1 Watchers
  • 6 Stars
  • 462 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 2 Versions
  • 2 % Grown

The README.md

Yii 2 Omnipay

Yii 2 use omni pay based on https://github.com/thephpleague/omnipay, (*1)

Installation

The preferred way to install this extension is through composer., (*2)

Either run, (*3)

php composer.phar require --prefer-dist bryglen/yii2-omnipay "1.0.0"

or add, (*4)

"bryglen/yii2-omnipay": "1.0.0"

to the require section of your composer.json file., (*5)


in your main.php your configuration would look like this, (*6)

'components' => [
    'stripe' => [
        'class' => 'bryglen\omnipay\OmniPayComponent',
        'name' => 'Stripe',
        // optional parameters
        //'testMode' => true,
        //'currency' => 'your_currency'
        'parameters' => [
            'apiKey' => 'your_api_key'
        ]
    ]
]

The Versions

28/05 2015

dev-master

9999999-dev

thephpleague/omnipay for Yii 2

  Sources   Download

MIT

The Requires

 

extension omnipay yii2 bryglen phpleague

28/05 2015

1.0.0

1.0.0.0

thephpleague/omnipay for Yii 2

  Sources   Download

MIT

The Requires

 

extension omnipay yii2 bryglen phpleague