Official PHP SDK of AnonWallet.Net Anonymous Cryptocurrency Payment Gateway for sending Micro Transactions
You can install anonwallet plugin using composer in your project using:
composer require anonwallet_micro/anonwallet-micro-php
Include namespace of package wherever you want to use this library
include_once './vendor/autoload.php';
use AnonWallet\AnonWallet_micro;
$api_key = 'Your Micro Payments/Faucet API Key';
$obj = new AnonWallet_micro($api_key);
$currency = 'BTC'; //If currency parameter is not specified, default currency is BTC
$balance = $obj->balance($currency);
$currencies = $obj->currencies();
$currency = 'BTC'; //If currency parameter is not specified, default currency is BTC
$address = '1Btcdemoforwardaddress'; // Linked address if it belongs to AnonWallet Micro Payments system
$address = $obj->check_address($currency, $address);
$currency = 'BTC'; //If currency parameter is not specified, default currency is BTC
$amount = '0.01'; // Numeric double amount to be send from your account
$address = '1Btcdemowithdrawaladdress'; //The receiver linked address from AnonWallet system
$send = $obj->send($currency, $amount, $address);
You can find more references on our API Documentation (https://anonwallet.readme.io)