PHP code example of raniellyferreira / moip-sdk-php
1. Go to this page and download the library: Download raniellyferreira/moip-sdk-php 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/ */
raniellyferreira / moip-sdk-php example snippets
use Moip\Moip;
use Moip\MoipBasicAuth;
$token = '01010101010101010101010101010101';
$key = 'ABABABABABABABABABABABABABABABABABABABAB';
$moip = new Moip(new MoipBasicAuth($token, $key), Moip::ENDPOINT_SANDBOX);