PHPackages                             fousky/idoklad - 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. fousky/idoklad

ActiveLibrary

fousky/idoklad
==============

Implement iDoklad API v2

32932PHP

Since Dec 29Pushed 4mo ago1 watchersCompare

[ Source](https://github.com/Fousky/iDoklad)[ Packagist](https://packagist.org/packages/fousky/idoklad)[ RSS](/packages/fousky-idoklad/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (10)DependenciesVersions (1)Used By (0)

iDoklad API v2 integration
==========================

[](#idoklad-api-v2-integration)

PHP 8+ library for calling iDoklad API (v2). Compatible with Symfony 6.4+ and PHP 8.1+. Supports both Guzzle 6 and 7.

[![StyleCI](https://camo.githubusercontent.com/219e0aca74845a4f8050ad9dabf64ceccea871e63d0bf9410b0c0b9cca77faab/68747470733a2f2f7374796c6563692e696f2f7265706f732f39343930373931392f736869656c643f6272616e63683d6d6173746572)](https://styleci.io/repos/94907919)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/2c2da148dddfc6dc9cb8cd6354ceb9dfac91035b54f565cd0cc4e97735957646/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f466f75736b792f69446f6b6c61642f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/Fousky/iDoklad/?branch=master)[![PHPStan](https://camo.githubusercontent.com/441b5874ce4df0a2defc892979c96c46889b69cb32119d04f0b48626349f8bc9/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048505374616e2d656e61626c65642d627269676874677265656e2e7376673f7374796c653d666c6174)](https://github.com/phpstan/phpstan)

Install with Composer
=====================

[](#install-with-composer)

```
composer require fousky/idoklad

```

Basic usage
===========

[](#basic-usage)

```
use Fousky\Component\iDoklad\Functions as Func;
use Fousky\Component\iDoklad\iDoklad;
use Fousky\Component\iDoklad\iDokladFactory;

/**
 * Create iDoklad client with specific configuration.
 *
 * @var \Fousky\Component\iDoklad\iDoklad $idoklad
 */
$idoklad = iDokladFactory::create([
    'client_id' => '##TODO:INSERT CLIENT ID##',
    'client_secret' => '##TODO:INSERT CLIENT SECRET##',
]);

/**
 * Execute function (iDokladFunctionInterface),
 * this will call iDoklad API and returns model object (iDokladModelInterface).
 *
 * @var \Fousky\Component\iDoklad\Model\Contacts\ContactCollectionModel $responseModel
 */
$responseModel = $idoklad->execute(
    new Func\Contacts\GetContacts()
);

/**
 * Here you have response data from iDoklad API in model class
 * @see GetContacts::getModelClass
 */
var_dump($responseModel);
```

CI code quality check
=====================

[](#ci-code-quality-check)

Try to run `composer ci` where you can find this commands:

- `composer validate --no-check-all`
- `composer install --no-progress --no-interaction --no-suggest --no-scripts`
- `php vendor/bin/phpstan analyze ./ -c phpstan.neon --level=7`
- `parallel-lint -j 10 --exclude vendor ./`

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance52

Moderate activity, may be stable

Popularity16

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity12

Early-stage or recently created project

 Bus Factor1

Top contributor holds 85.7% 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://www.gravatar.com/avatar/ccd24f56861a862f1f9b7c369c38aac0f3ebb3c00c7fda02dc9d1e6c14e67fa3?d=identicon)[rapemer](/maintainers/rapemer)

---

Top Contributors

[![kockodev](https://avatars.githubusercontent.com/u/10545057?v=4)](https://github.com/kockodev "kockodev (18 commits)")[![lukas-brzak-prusa](https://avatars.githubusercontent.com/u/163110920?v=4)](https://github.com/lukas-brzak-prusa "lukas-brzak-prusa (2 commits)")[![honzagula](https://avatars.githubusercontent.com/u/15079308?v=4)](https://github.com/honzagula "honzagula (1 commits)")

---

Tags

idokladphpphp7

### Embed Badge

![Health badge](/badges/fousky-idoklad/health.svg)

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

PHPackages © 2026

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