PHP code example of richweber / yii2-monexy
1. Go to this page and download the library: Download richweber/yii2-monexy library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
richweber / yii2-monexy example snippets
'components' => [
...
'monexy' => [
'class' => 'richweber\monexy\Monexy',
'apiName' => 'testAPI',
'apiPassword' => 'password',
'requestType' => 'POST',
'contentType' => 'JSON',
'enableCrypt' => false,
],
...
],
Yii::$app->monexy->balance();
php composer.phar