1. Go to this page and download the library: Download munna/pm 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/ */
/**
* Create an instance of PerfectMoney
*/
$pm = new PerfectMoney;
/**
* Check Your Account
*/
$pm->getName();
/**
* Check Your Balance
* Normally you can see all your balances
*/
$pm->balance();
/**
* To check specify current balance you need to pass an one optional parameter
* Support ["USD", "EURO", "Troy oz."] etc
*/
$pm->balance("USD");
/**
* Sent or Transfer Amount To Others Account
* All send parameter are