PHP code example of richweber / yii2-wm-exchanger
1. Go to this page and download the library: Download richweber/yii2-wm-exchanger 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-wm-exchanger example snippets
'components' => [
...
'exchanger' => [
'class' => 'richweber\wm\exchanger\Exchanger',
'wmid' => 121212121212,
'keyFile' => '/path/to/key/file.kwm',
'keyPassword' => 'password',
],
...
],
$exchType = 1;
Yii::$app->exchanger->getCurrentApplications($exchType);
php composer.phar