PHPackages                             passchn/digistore-api-wrapper - 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. passchn/digistore-api-wrapper

ActiveCakephp-plugin[API Development](/categories/api)

passchn/digistore-api-wrapper
=============================

Digistore Api Wrapper plugin for PHP

v0.2.0(3y ago)0260MITPHPPHP &gt;=7.4

Since Jan 23Pushed 3y agoCompare

[ Source](https://github.com/passchn/digistore-api-wrapper)[ Packagist](https://packagist.org/packages/passchn/digistore-api-wrapper)[ RSS](/packages/passchn-digistore-api-wrapper/feed)WikiDiscussions main Synced today

READMEChangelog (6)Dependencies (1)Versions (8)Used By (0)

Digistore24 Api Wrapper plugin for PHP
======================================

[](#digistore24-api-wrapper-plugin-for-php)

No further development
----------------------

[](#no-further-development)

I'm not using Digistore24 anymore myself. So it is very unlikely that I will further develop this package.

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

[](#installation)

You can install this plugin using [composer](https://getcomposer.org).

The recommended way to install composer packages is:

```
composer require passchn/digistore-api-wrapper

```

Connect to the API
------------------

[](#connect-to-the-api)

To connect to the Api, create an instance of `DigistoreClient`, passing your api key from Digistore24.com:

```
use DigistoreApi\DigistoreClient;

$api = new DigistoreClient($api_key);

```

Test the connection:

```
return $api->isConnected() // true or false

```

If `false`, or some API-call went wrong, and you got a `null`-response, check for the last error message, or all errors that have occurred:

```
$api->getLastError() // error message (string) or null
$api->getErrors() // array of Exceptions or null

```

Get data from the API
---------------------

[](#get-data-from-the-api)

This plugin is a wrapper for thr original Digistore24 API. See the full reference here: [dev.digistore24.com](https://dev.digistore24.com/en/articles/3-api-basics).

The aim is to have known return types (e.g., `Buyer` or `Purchase` with defined fields), and to provide an easier access.

However, ust a few of the possible queries are supported right now. In general, you can always use this method to call any endpoint:

```
$api->call($method, ...$arguments)

```

Supported wrapper-endpoints
---------------------------

[](#supported-wrapper-endpoints)

### Purchases

[](#purchases)

Get one `DigistoreApi\Purchases\Purchase` or `null` by order id / purchase id:

```
$api->Purchases->get($id);

```

Get a `DigistoreApi\Purchases\Purchase[]` or `null` by passing an array of order ids:

```
$api->Purchases->getMany([
    '12345',
    '67890',
    '...'
]);

```

### Buyers

[](#buyers)

Get a `DigistoreApi\Buyers\Buyer` (or `null`) by id or email.

```
$api->Buyers->get($id_or_email);

```

Get an array of `Buyers` or `null` by passing a list of emails or ids:

```
$api->Buyers->getMany([$id_or_email, $other_email, $some_id]);

```

### Deliveries

[](#deliveries)

Count Deliveries that have not been processed yet.

```
$deliveries = $api->Deliveries->countOpen() // ?int

```

Find Deliveries by purchase id / order id:

```
$deliveries = $api->Deliveries->listForPurchase("ABC123") // ?array

```

Find Deliveries for a certain time range (defaults to last 6 weeks):

```
$deliveries = $api->Deliveries->listForTimeRange() // ?array

```

Find Deliveries by type/state, e.g. request (not processed yet), delivery (sent by you), or cancelled.

```
$deliveries = $api->Deliveries->listByTypes([
    DeliveryTypes::REQUEST,
    DeliveryTypes::DELIVERY,
]) // ?array

```

Contribution
------------

[](#contribution)

You can contribute to this plugin via Pull Requests.

###  Health Score

23

—

LowBetter than 26% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity45

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 ~67 days

Recently: every ~83 days

Total

6

Last Release

1288d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/77938819?v=4)[Pascal Schneider](/maintainers/passchn)[@passchn](https://github.com/passchn)

---

Top Contributors

[![passchn](https://avatars.githubusercontent.com/u/77938819?v=4)](https://github.com/passchn "passchn (39 commits)")

---

Tags

digistore24ecommercephp

### Embed Badge

![Health badge](/badges/passchn-digistore-api-wrapper/health.svg)

```
[![Health](https://phpackages.com/badges/passchn-digistore-api-wrapper/health.svg)](https://phpackages.com/packages/passchn-digistore-api-wrapper)
```

###  Alternatives

[nette/security

🔑 Nette Security: provides authentication, authorization and a role-based access control management via ACL (Access Control List)

3889.7M331](/packages/nette-security)[nette/component-model

⚛ Nette Component Model

28817.0M106](/packages/nette-component-model)[ssch/typo3-rector

Instant fixes for your TYPO3 PHP code by using Rector.

2603.2M436](/packages/ssch-typo3-rector)[rector/rector-src

Instant Upgrade and Automated Refactoring of any PHP code

136406.3k14](/packages/rector-rector-src)[brandembassy/slim-nette-extension

19201.2k](/packages/brandembassy-slim-nette-extension)[worksome/graphlint

A static analysis tool for GraphQL

13194.2k](/packages/worksome-graphlint)

PHPackages © 2026

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