hotelja/yii2-iugu

https://iugu.com/referencias/api

Installs: 19

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 0

Open Issues: 0

Type:yii2-extension

dev-master 2015-09-30 18:21 UTC

This package is not auto-updated.

Last update: 2024-05-11 16:34:32 UTC


README

https://iugu.com/referencias/api

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist hotelja/yii2-iugu "*"

or add

"hotelja/yii2-iugu": "*"

to the require section of your composer.json file.

Usage

Once the extension is installed, simply modify your application configuration as follows:

return [
    'components' => [
        'iugu' => [
            'class' => 'hotelja\yii2-iugu\Iugu',
            'api_token'=>'PutYourApiKeyHere',
        ],
        // ...
    ],
    // ...
];

You can then use any iugu command like:

Yii::$app->iugu->