PHPackages                             dibukeu/client-php - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. dibukeu/client-php

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

dibukeu/client-php
==================

dibuk client php library

v1.5.0(8mo ago)0317.9k↓18.4%[1 PRs](https://github.com/dibukeu/client-php/pulls)MITPHPPHP &gt;=7.2CI failing

Since Dec 11Pushed 8mo agoCompare

[ Source](https://github.com/dibukeu/client-php)[ Packagist](https://packagist.org/packages/dibukeu/client-php)[ RSS](/packages/dibukeu-client-php/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (7)Dependencies (3)Versions (20)Used By (0)

Dibuk Client Lib (PHP)
======================

[](#dibuk-client-lib-php)

[![Build Status](https://camo.githubusercontent.com/42540f9ac68ab62ea955a7aa8f52a8783f5829f1d94b22559579dd118469fb8b/68747470733a2f2f7472617669732d63692e636f6d2f646962756b65752f636c69656e742d7068702e7376673f6272616e63683d6d6173746572)](https://travis-ci.com/dibukeu/client-php)

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

[](#installation)

`composer require dibukeu/client-php`

Usage
-----

[](#usage)

### Terms

[](#terms)

- **Seller** - klient (predajca koncovému zákazníkovi, eshop)
- **User** - koncový zákazník (kupujúci z eshopu)
- **Order** - objednávka

### Public Methods

[](#public-methods)

- `$client = new DibukClient([ 'sellerId' => 'string', 'signature' => 'string', 'url' => 'string', 'version' => 'string']);`
- `$client->setUser(['id' => 'int', 'email' => 'string', 'name' => 'string', 'surname' => 'string']);` - nastavenie údajov koncového zákazníka
- `$client->setItem([ 'id' => 'id polozky z exportu / ISBN','order_id' => 'id objednavky zakaznika','payment_id' => 'int','price' => 'float','currency' => 'EUR|CZK','unique_id' => 'int - Unikátny identifikátor, napr. kombinácia order_id/item, alebo orders_items.id']);` - nastavenie údajov kupovanej položky
- `$client->createLicense()` - kúpa knihy (buy v Dibuk)
- `$client->sendByEmail($email)` - odoslanie eknihy emailom
- `$client->getAllDownloadLinks()` - zoznam linkov na stiahnutie
- `$client->getAttachmentsLinks()` - zoznam linkov na stiahnutie priloh k e-kniham
- *showAllDownloadLinks - netestované* - zobrazí HTML page s linkami na stiahnutie (možnosť nastaviť vlastný template)
- *exportItems - netestované* - vrati zoznam položiek katalógu (eknihy a audioknihy)
- *exportCatalog - netestované* - vrati zoznam kategórii katalógu
- getReport - ??

### Dibuk API Urls

[](#dibuk-api-urls)

**Production**

`https://agregator.dibuk.eu/2_3/call.php`

**Sandbox**

`https://sandbox.dibuk.eu/agregator/2_3/call.php`

Examples
--------

[](#examples)

//TODO

###  Health Score

47

—

FairBetter than 93% of packages

Maintenance62

Regular maintenance activity

Popularity33

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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

Recently: every ~495 days

Total

13

Last Release

241d ago

Major Versions

v0.1.4 → v1.0.02019-04-03

PHP version history (2 changes)v0.1.0PHP &gt;=5.4

v1.0.0PHP &gt;=7.2

### Community

Maintainers

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

![](https://avatars.githubusercontent.com/u/8142625?v=4)[Peter Gašparík](/maintainers/pipan)[@pipan](https://github.com/pipan)

---

Top Contributors

[![pipan](https://avatars.githubusercontent.com/u/8142625?v=4)](https://github.com/pipan "pipan (19 commits)")[![samuelszabo](https://avatars.githubusercontent.com/u/403439?v=4)](https://github.com/samuelszabo "samuelszabo (14 commits)")[![dasperg](https://avatars.githubusercontent.com/u/4030824?v=4)](https://github.com/dasperg "dasperg (8 commits)")[![matuslucenic](https://avatars.githubusercontent.com/u/70635015?v=4)](https://github.com/matuslucenic "matuslucenic (4 commits)")[![stickler-ci](https://avatars.githubusercontent.com/u/16011037?v=4)](https://github.com/stickler-ci "stickler-ci (2 commits)")

---

Tags

dibuk

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/dibukeu-client-php/health.svg)

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

###  Alternatives

[composer/composer

Composer helps you declare, manage and install dependencies of PHP projects. It ensures you have the right stack everywhere.

29.5k196.2M3.1k](/packages/composer-composer)[matomo/matomo

Matomo is the leading Free/Libre open analytics platform

21.7k38.9k](/packages/matomo-matomo)[cakephp/cakephp

The CakePHP framework

8.9k19.5M1.8k](/packages/cakephp-cakephp)[embed/embed

PHP library to retrieve page info using oembed, opengraph, etc

2.2k11.9M117](/packages/embed-embed)[pimcore/pimcore

Content &amp; Product Management Framework (CMS/PIM/E-Commerce)

3.8k3.8M508](/packages/pimcore-pimcore)[ua-parser/uap-php

A multi-language port of Browserscope's user agent parser.

57337.5M80](/packages/ua-parser-uap-php)

PHPackages © 2026

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