PHPackages                             miisieq/infakt-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. miisieq/infakt-client

ActiveLibrary[API Development](/categories/api)

miisieq/infakt-client
=====================

InfaktClient is a PHP library for the third version of Infakt REST API that makes it easy to perform CRUD (create, read, update and delete) operations on invoices, clients and products.

v1.0.2(4y ago)41175[1 issues](https://github.com/miisieq/InfaktClient/issues)[1 PRs](https://github.com/miisieq/InfaktClient/pulls)MITPHPPHP ^7.2 | ^8.0CI failing

Since Dec 7Pushed 4y ago2 watchersCompare

[ Source](https://github.com/miisieq/InfaktClient)[ Packagist](https://packagist.org/packages/miisieq/infakt-client)[ RSS](/packages/miisieq-infakt-client/feed)WikiDiscussions master Synced yesterday

READMEChangelog (2)Dependencies (5)Versions (6)Used By (0)

Infakt API Client
=================

[](#infakt-api-client)

Style-CITravis CICoverageDownloadsRelease[![StyleCI](https://camo.githubusercontent.com/3910d7c8eb926229bc3aa52aeb385df2567b5a08058eaba5686815f7d425a72d/68747470733a2f2f7374796c6563692e696f2f7265706f732f3131343239393933372f736869656c643f6272616e63683d6d6173746572)](https://styleci.io/repos/114299937)[![Travis CI](https://camo.githubusercontent.com/040b611bc7c9644e74cc949c9c1d70ff327abe300bc7a0c33848ac7da2c1f0a6/68747470733a2f2f7472617669732d63692e6f72672f6d6969736965712f496e66616b74436c69656e742e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/miisieq/InfaktClient)[![Coverage Status](https://camo.githubusercontent.com/da423b8caee16bc454692abb1a03773177507838ea64ee86e8c0d7de6ba7dd9f/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f6d6969736965712f496e66616b74436c69656e742f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/miisieq/InfaktClient?branch=master)[![Total Downloads](https://camo.githubusercontent.com/f61d0d8b7f5c44c2491990f5d9b92be8abd92d39cb58259866c3e2f4ab2a143e/68747470733a2f2f706f7365722e707567782e6f72672f6d6969736965712f696e66616b742d636c69656e742f646f776e6c6f6164733f666f726d61743d666c61742d737175617265)](https://packagist.org/packages/miisieq/infakt-client)[![Latest Stable Version](https://camo.githubusercontent.com/6c58f5156737ff8549c1759a21627fbc8cc0bc3abf9721b2fe290d04668cbb55/68747470733a2f2f706f7365722e707567782e6f72672f6d6969736965712f696e66616b742d636c69656e742f762f737461626c653f666f726d61743d666c61742d737175617265)](https://packagist.org/packages/miisieq/infakt-client)InfaktClient is a PHP library for the third version of [Infakt REST API](https://www.infakt.pl/developers/) that makes it easy to perform CRUD (create, read, update and delete) operations on invoices, clients and products.

Quick start
-----------

[](#quick-start)

### Step 1: Install the package

[](#step-1-install-the-package)

Install [Composer](https://getcomposer.org/download/) and run the following command to get the latest version:

```
composer require miisieq/infakt-client

```

### Step 2: Create an instance of the client

[](#step-2-create-an-instance-of-the-client)

```
$infakt = new \Infakt\Infakt(
    '7e2356a0a400d6ec3d2ced911991f3e8',
    new \GuzzleHttp\Client()
);
```

Resources reference
-------------------

[](#resources-reference)

### Clients

[](#clients)

#### Get all

[](#get-all)

```
$clients = $infakt->getRepository(\Infakt\Model\Client::class)->getAll();
```

#### Get by ID

[](#get-by-id)

```
$client = $infakt->getRepository(\Infakt\Model\Client::class)->get(2887744);
```

See more: [Infakt API Documentation](https://www.infakt.pl/developers/clients.html#def)

### Bank Accounts

[](#bank-accounts)

#### Get all

[](#get-all-1)

```
$bankAccounts = $infakt->getRepository(\Infakt\Model\BankAccount::class)->getAll();
```

#### Get by ID

[](#get-by-id-1)

```
$bankAccount = $infakt->getRepository(\Infakt\Model\BankAccount::class)->get(4786512);
```

See more: [Infakt API Documentation](https://www.infakt.pl/developers/bank_accounts.html#def)

### VAT Rate

[](#vat-rate)

#### Get all

[](#get-all-2)

```
$infakt->getRepository(\Infakt\Model\VatRate::class)->getAll()
```

See more: [Infakt API Documentation](https://www.infakt.pl/developers/vat_rates.html)

Contributing
------------

[](#contributing)

### Running tests ([phpunit/phpunit](https://github.com/sebastianbergmann/phpunit))

[](#running-tests-phpunitphpunit)

```
$ composer tests
```

### Running code style fixer ([friendsofphp/php-cs-fixer](https://github.com/FriendsOfPHP/PHP-CS-Fixer))

[](#running-code-style-fixer-friendsofphpphp-cs-fixer)

```
$ composer phpcs
```

License
-------

[](#license)

This package is released under the MIT license. See the included [LICENSE](LICENSE) file for more information.

###  Health Score

30

—

LowBetter than 62% of packages

Maintenance15

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity66

Established project with proven stability

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

Total

3

Last Release

1529d ago

PHP version history (2 changes)v1.0.0PHP ^7.2

v1.0.2PHP ^7.2 | ^8.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/13700051?v=4)[Michał Szczech](/maintainers/miisieq)[@miisieq](https://github.com/miisieq)

---

Top Contributors

[![miisieq](https://avatars.githubusercontent.com/u/13700051?v=4)](https://github.com/miisieq "miisieq (1 commits)")

---

Tags

api-clientapi-wrapperinfakt-api

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/miisieq-infakt-client/health.svg)

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

###  Alternatives

[laravel/framework

The Laravel Framework.

34.8k532.1M19.5k](/packages/laravel-framework)[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.5k5.8M717](/packages/sylius-sylius)[tempest/framework

The PHP framework that gets out of your way.

2.2k31.1k12](/packages/tempest-framework)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3661.2M46](/packages/tencentcloud-tencentcloud-sdk-php)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

585.4M526](/packages/shopware-core)[eslazarev/wildberries-sdk

Wildberries OpenAPI clients (generated).

252.5k](/packages/eslazarev-wildberries-sdk)

PHPackages © 2026

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