1. Go to this page and download the library: Download dwolla/dwollaswagger 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/ */
dwolla / dwollaswagger example snippets
DwollaSwagger\Configuration::$username = "API_KEY";
DwollaSwagger\Configuration::$password = "API_SECRET";
# For Sandbox
$apiClient = new DwollaSwagger\ApiClient("https://api-sandbox.dwolla.com");
# For Production
$apiClient = new DwollaSwagger\ApiClient("https://api.dwolla.com");
$tokensApi = new DwollaSwagger\TokensApi($apiClient);
$appToken = $tokensApi->token();