PHPackages                             mhrabovcin/zuora-rest - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. mhrabovcin/zuora-rest

ActiveLibrary[API Development](/categories/api)

mhrabovcin/zuora-rest
=====================

A PHP client for integrating with the Zuora API

732.9k↓33.3%7PHP

Since May 27Pushed 3y ago2 watchersCompare

[ Source](https://github.com/mhrabovcin/zuora-rest)[ Packagist](https://packagist.org/packages/mhrabovcin/zuora-rest)[ RSS](/packages/mhrabovcin-zuora-rest/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Zuora REST PHP Client
=====================

[](#zuora-rest-php-client)

[![Build Status](https://camo.githubusercontent.com/c86b2f6dd1fe5643e74a193f914bd340fd0ff60d7fcb0aa4d1c9233be8904554/68747470733a2f2f7472617669732d63692e6f72672f6d687261626f7663696e2f7a756f72612d726573742e706e67)](https://travis-ci.org/mhrabovcin/zuora-rest)[![Coverage Status](https://camo.githubusercontent.com/ca28bd457a49b050bc19a3621b3a6a71bdbb7123094c52c8c522391ef60c1903/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6d687261626f7663696e2f7a756f72612d726573742f62616467652e706e673f6272616e63683d6d6173746572)](https://coveralls.io/r/mhrabovcin/zuora-rest?branch=master)[![Total Downloads](https://camo.githubusercontent.com/327a0a3edb9b8cd224ba2b87b7a886f9e281aa7cac8a64ce3c7321e82aa63980/68747470733a2f2f706f7365722e707567782e6f72672f6d687261626f7663696e2f7a756f72612d726573742f646f776e6c6f6164732e706e67)](https://packagist.org/packages/mhrabovcin/zuora-rest)[![Latest Stable Version](https://camo.githubusercontent.com/2d5e374808bb2d5e4fa4fe86cad81ceea274cfa471cf9a2b2407848c50f272f9/68747470733a2f2f706f7365722e707567782e6f72672f6d687261626f7663696e2f7a756f72612d726573742f762f737461626c652e706e67)](https://packagist.org/packages/mhrabovcin/zuora-rest)

Simple Zuora REST API client.

Installation
------------

[](#installation)

Zuora REST PHP Client can be installed with [Composer](http://getcomposer.org)by adding it as a dependency to your project's composer.json file.

```
{
    "require": {
        "mhrabovcin/zuora-rest": "*"
    }
}
```

Please refer to [Composer's documentation](https://github.com/composer/composer/blob/master/doc/00-intro.md#introduction)for more detailed installation and usage instructions.

Usage
-----

[](#usage)

To initialize client use following code:

```
use \Zuora\Client;

$client = Client::factory(array(
    'username' => 'email@exmaple.com',
    'password' => 'secretpassword',
    // For production endpoint
    'endpoint' => 'https://api.zuora.com/rest'
));
```

Client has method for querying Zuora API

```
$account = $client->getAccount('A0000001');
print $account->getAccountNumber() . "\n"; // A0000001
print $account->getBillToContact()->getFirstName() . "\n"; // John

$credit_cards = $cliennt->getCreditCards('A0000001');
$card = reset($credit_cards);
print $card->isDefaultPaymentMethod() . "\n";
print $card->getCardHolderInfo()->getCardHolderName() . "\n";
```

For developers
--------------

[](#for-developers)

Refer to [PHP Project Starter's documentation](https://github.com/cpliakas/php-project-starter#using-apache-ant)for the Apache Ant targets supported by this project.

TODO
----

[](#todo)

- Add lazy result loading

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity35

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity26

Early-stage or recently created project

 Bus Factor1

Top contributor holds 51.7% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/81354?v=4)[Martin Hrabovcin](/maintainers/mhrabovcin)[@mhrabovcin](https://github.com/mhrabovcin)

---

Top Contributors

[![mhrabovcin](https://avatars.githubusercontent.com/u/81354?v=4)](https://github.com/mhrabovcin "mhrabovcin (15 commits)")[![varvashenya](https://avatars.githubusercontent.com/u/4438707?v=4)](https://github.com/varvashenya "varvashenya (12 commits)")[![irek-acq](https://avatars.githubusercontent.com/u/215927674?v=4)](https://github.com/irek-acq "irek-acq (2 commits)")

### Embed Badge

![Health badge](/badges/mhrabovcin-zuora-rest/health.svg)

```
[![Health](https://phpackages.com/badges/mhrabovcin-zuora-rest/health.svg)](https://phpackages.com/packages/mhrabovcin-zuora-rest)
```

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

263103.1M454](/packages/google-gax)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
