olivierbarbier/zuora-soap-api

Zuora SOAP API for PHP

v2.1.1 2016-01-29 14:36 UTC

This package is not auto-updated.

Last update: 2021-10-13 10:11:29 UTC


README

Latest Stable Version Total Downloads Latest Unstable Version License

Installing Zuora SOAP API

composer require olivierbarbier/zuora-soap-api

Example: performing a ZOQL query

require 'vendor/autoload.php';

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;
}

If you want more examples please have a look at Zuora PHP Quickstart

An other approach

An other approach to work with Zuora Soapi API is explained here