PHPackages                             wirthhorn/daypaio - 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. wirthhorn/daypaio

ActiveLibrary[API Development](/categories/api)

wirthhorn/daypaio
=================

A simple PHP Daypaio API client

17PHP

Since Aug 9Pushed 7y ago2 watchersCompare

[ Source](https://github.com/wirthhorn/daypaio)[ Packagist](https://packagist.org/packages/wirthhorn/daypaio)[ RSS](/packages/wirthhorn-daypaio/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependenciesVersions (1)Used By (0)

daypaio
=======

[](#daypaio)

A simple PHP client for the Daypaio API.

Requirements
------------

[](#requirements)

PHP 7

CURL

Usage
-----

[](#usage)

### Initialization

[](#initialization)

```
use Daypaio;

$daypaio = new Daypaio([
	'access_token' => 'Enter access token',
	'environment' => 'stage' // valid: stage, production
]);
```

### List interestchannels

[](#list-interestchannels)

```
$daypaio->interestchannel->get();
```

### List shops

[](#list-shops)

```
$daypaio->shops->get();
```

### Create a new consumer

[](#create-a-new-consumer)

```
$daypaio->consumer->post([
	"email" => "foo@bar.com",
  	"t" => "lead",
  	"first_name" => "foo",
  	"interestchannels" => [],
  	"preferredShop" => "",
  	"ext_id" => ""
]);
```

### Search a consumer

[](#search-a-consumer)

```
$daypaio->query->get(
	["email" => "stuber@wirth-horn.de"], // search parameters
	["id", "email"] // fields to return
);
```

### Delete an existing consumer

[](#delete-an-existing-consumer)

```
$daypaio->delete->post("consumer", "5b2a63c2d848af4cc12ecf44");
```

Tests
-----

[](#tests)

1. [Composer](https://getcomposer.org/) is a prerequisite for running the tests. Install composer globally, then run `composer install` to install required files.
2. Create `tests/DaypaioTestCredentials.php` from `tests/DaypaioTestCredentials.php.dist` and edit it to add your access token.
3. The tests can be executed by running this command from the root directory:

```
$ ./vendor/bin/phpunit
```

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity40

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 50% 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/41329045?v=4)[Apps distribution](/maintainers/wirthhorn)[@wirthhorn](https://github.com/wirthhorn)

---

Top Contributors

[![wirthhorn](https://avatars.githubusercontent.com/u/41329045?v=4)](https://github.com/wirthhorn "wirthhorn (4 commits)")[![stuberwh](https://avatars.githubusercontent.com/u/93256829?v=4)](https://github.com/stuberwh "stuberwh (3 commits)")[![stuberm](https://avatars.githubusercontent.com/u/6614585?v=4)](https://github.com/stuberm "stuberm (1 commits)")

### Embed Badge

![Health badge](/badges/wirthhorn-daypaio/health.svg)

```
[![Health](https://phpackages.com/badges/wirthhorn-daypaio/health.svg)](https://phpackages.com/packages/wirthhorn-daypaio)
```

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35816.3M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24015.5M18](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172437.8k11](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

94452.6k6](/packages/botman-driver-telegram)

PHPackages © 2026

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