PHPackages                             carlosmls1/avangate-php-rest-api-client - 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. carlosmls1/avangate-php-rest-api-client

ActiveLibrary

carlosmls1/avangate-php-rest-api-client
=======================================

1.0.3(10y ago)04MITPHPPHP ^5.6

Since Nov 5Pushed 4y agoCompare

[ Source](https://github.com/carlosmls1/PHP-REST-API-Client)[ Packagist](https://packagist.org/packages/carlosmls1/avangate-php-rest-api-client)[ RSS](/packages/carlosmls1-avangate-php-rest-api-client/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (1)Versions (5)Used By (0)

This is a simple client built on top of Guzzle.

### Usage

[](#usage)

#### Initialize by calling:

[](#initialize-by-calling)

```
$client = new Client([
    'code' => MERCHANT_CODE,
    'key' => MERCHANT_APIKEY,
    'base_uri' => 'https://api.avangate.com/3.0/'
]);
```

#### Use as a Guzzle client

[](#use-as-a-guzzle-client)

```
try {
    $response = $client->get('orders/?StartDate=2015-01-01');
    $orderListing = json_decode($response->getBody()->getContents());

    print_r($orderListing);

} catch (\GuzzleHttp\Exception\ClientException $e) {
    $contents = json_decode($e->getResponse()->getBody()->getContents());
    var_dump($contents->message);

} catch (\Exception $e) {
    var_dump($e->getMessage());
}
```

###  Health Score

26

—

LowBetter than 46% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 71.4% 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.

###  Release Activity

Cadence

Every ~27 days

Total

4

Last Release

3709d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/5c3d887e658e3f9ee25176e6c3654a0629d25650374c756f32467c115d3bb1a4?d=identicon)[carlosmls1](/maintainers/carlosmls1)

---

Top Contributors

[![bogdananton](https://avatars.githubusercontent.com/u/1594303?v=4)](https://github.com/bogdananton "bogdananton (5 commits)")[![carlosmls1](https://avatars.githubusercontent.com/u/34964033?v=4)](https://github.com/carlosmls1 "carlosmls1 (1 commits)")[![robertmindroi](https://avatars.githubusercontent.com/u/3054880?v=4)](https://github.com/robertmindroi "robertmindroi (1 commits)")

### Embed Badge

![Health badge](/badges/carlosmls1-avangate-php-rest-api-client/health.svg)

```
[![Health](https://phpackages.com/badges/carlosmls1-avangate-php-rest-api-client/health.svg)](https://phpackages.com/packages/carlosmls1-avangate-php-rest-api-client)
```

PHPackages © 2026

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