PHPackages                             calderawp/edd-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. [API Development](/categories/api)
4. /
5. calderawp/edd-api-client

ActiveLibrary[API Development](/categories/api)

calderawp/edd-api-client
========================

PHP Client For EDD API

2.0.0(8y ago)350GPL-2.0+PHPPHP &gt;=7.0.0

Since Jan 14Pushed 8y ago3 watchersCompare

[ Source](https://github.com/CalderaWP/edd-api-client)[ Packagist](https://packagist.org/packages/calderawp/edd-api-client)[ RSS](/packages/calderawp-edd-api-client/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (2)Dependencies (1)Versions (3)Used By (0)

edd-api-client
==============

[](#edd-api-client)

PHP HTTP Client For Easy Digital Downloads API

Installation
============

[](#installation)

`composer require calderawp/edd-api-client`

- Requires: PHP7.0+
- Uses Guzzle 6

Usage
-----

[](#usage)

### EDD Core

[](#edd-core)

- Create Client

```
  //make a guzzle instance
  $client = new GuzzleHttp\Client( [ 'base_uri' => 'https://something.com/edd-api/' ]  );
  $key = '5419894a576acf9e773cdcdd1a8f9613';
  $token = '4198047e657734f58a18f3a4051a6af8';
  //create site instance
  $site = new \CalderaWP\EDD\API\Site( $client, $key, $token  );

```

#### Get Customers

[](#get-customers)

- Page 1

    `$customers = $site->customers();`
- Page 2

    `$customers = $site->customers(2);`
- 50 Customers `$customers = $site->customers(1,50);`
- Customer with ID 42

    `$customer = $site->customerr( 42 );`

#### Get Products

[](#get-products)

- Page 1

    `$products = $site->products();`
- Page 2

    `$products = $site->products(2);`
- 50 Products

    `$products = $site->product(1,50);`
- Prodcut with ID 42

    `$product = $site->product( 42 );`

#### Get Sales

[](#get-sales)

- Most recent

    `$sales = $site->sales();`
- Sales by customer Email

    `$sales = $site->sales( 'roy@roysivan.com' );`
- Sale with ID 42

    `$sals = $site->sale( 42 );`

### EDD Recurring

[](#edd-recurring)

NOTE: I submitted some pull requests to make this work, use the api-fix branch in my fork for now.

#### Get Subscriptions

[](#get-subscriptions)

```
$subscriptions = new \CalderaWP\EDD\API\Subscriptions( $client, $key, $token );
$page1 = $subscriptions->subscriptions();
$page2 = $subscriptions->subscriptions(2);

```

#### Get Subscription

[](#get-subscription)

```
$sub = $subscriptions->subscription(42);

```

License
-------

[](#license)

Copyright 2016+ CalderaWP LLC. Licnesed under the GNU GPL V2+

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~161 days

Total

2

Last Release

3246d ago

Major Versions

1.0.0 → 2.0.02017-06-24

### Community

Maintainers

![](https://www.gravatar.com/avatar/ca938daf3f2a666cd32c7bdb6e30714da6fe0e6cd5012fe4864b18afae43fbcd?d=identicon)[Shelob9](/maintainers/Shelob9)

---

Top Contributors

[![Shelob9](https://avatars.githubusercontent.com/u/1994311?v=4)](https://github.com/Shelob9 "Shelob9 (12 commits)")

---

Tags

wordpress

### Embed Badge

![Health badge](/badges/calderawp-edd-api-client/health.svg)

```
[![Health](https://phpackages.com/badges/calderawp-edd-api-client/health.svg)](https://phpackages.com/packages/calderawp-edd-api-client)
```

###  Alternatives

[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3731.2M42](/packages/tencentcloud-tencentcloud-sdk-php)[sybrew/the-seo-framework

An automated, advanced, accessible, unbranded and extremely fast SEO solution for any WordPress website.

47078.8k](/packages/sybrew-the-seo-framework)[madeitbelgium/wordpress-php-sdk

WordPress Laravel PHP SDK

4422.9k1](/packages/madeitbelgium-wordpress-php-sdk)

PHPackages © 2026

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