PHP code example of olivierbarbier / zuora-soap-api
1. Go to this page and download the library: Download olivierbarbier/zuora-soap-api 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/ */
olivierbarbier / zuora-soap-api example snippets
use Zuora\Soap\Api;
$api = Api::getInstance((object) ['wsdl' => 'path_to_your_zuora_wsdl']);
try {
$api->login('your_login', 'your_password');
$query = $api->query('SELECT Id, Name FROM Account');
var_dump($query);
} catch(\Exception $e) {
echo '>',$e->getMessage();
die;
}