richweber/yii2-monexy

Yii 2 Framework extension for Monexy API

Installs: 62

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 2

Forks: 0

Open Issues: 0

Type:yii2-extension

1.0.0 2015-01-25 14:22 UTC

This package is auto-updated.

Last update: 2024-04-13 09:38:29 UTC


README

Встановлення розширення

Бажано встановлювати розширення з допомогою composer.

Виконайте команду

php composer.phar require richweber/yii2-monexy "*"

або добавте

"richweber/yii2-monexy": "dev-master"

в розділ require вашого composer.json файла.

Конфігурація додатка

Приклад конфігурації:

'components' => [
    ...
    'monexy' => [
        'class' => 'richweber\monexy\Monexy',
        'apiName' => 'testAPI',
        'apiPassword' => 'password',
        'requestType' => 'POST',
        'contentType' => 'JSON',
        'enableCrypt' => false,
    ],
    ...
],

Отримання балансу своїх гаманців:

Yii::$app->monexy->balance();

Документація

License

yii2-monexy is released under the BSD 3-Clause License. See the bundled LICENSE.md for details.