PHPackages                             mrstroz/yii2-infakt - 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. [Framework](/categories/framework)
4. /
5. mrstroz/yii2-infakt

ActiveYii2-extension[Framework](/categories/framework)

mrstroz/yii2-infakt
===================

Infakt component for Yii 2 framework

0.0.1(8y ago)00MITPHPPHP &gt;=5.6.0

Since May 7Pushed 8y ago1 watchersCompare

[ Source](https://github.com/mrstroz/yii2-infakt)[ Packagist](https://packagist.org/packages/mrstroz/yii2-infakt)[ RSS](/packages/mrstroz-yii2-infakt/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (2)Versions (2)Used By (0)

yii2-infakt
===========

[](#yii2-infakt)

Infakt component for Yii 2 framework

[inFakt API Documentation](https://www.infakt.pl/developers)

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

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Run

```
composer require "mrstroz/yii2-infakt" "*"

```

or add

```
"mrstroz/yii2-infakt": "*"

```

to the require section of your `composer.json` file.

Usage
-----

[](#usage)

1. Add component to your config file

```
'components' => [
    // ...
    'infakt' => [
        'class' => 'mrstroz\infakt\Infakt',
        'apiKey' => 'xxxxxx',
    ],
]
```

2. Add new client

```
/** @var Infakt $inFakt */
$inFakt = Yii::$app->infakt;
$response = $inFakt->call('clients', 'POST',
    ['client' =>
        [
            'company_name' => 'Infakt biuro rachunkowe',
            'nip' => '888-888-88-88'
        ]
    ]
);
```

3. Get client by ID

```
/** @var Infakt $inFakt */
$inFakt = Yii::$app->infakt;
$response = $inFakt->call('clients/xxxxxx', 'GET');
```

4. Add new invoice

```
/** @var Infakt $inFakt */
$inFakt = Yii::$app->infakt;
$response = $inFakt->call('invoices', 'POST',
    ['invoice' =>
        [
            'payment_method' => 'payu',
            'client_id' => 6567050,
            'services' => [
                [
                    'name' => 'Przykładowa Usługa',
                    'gross_price' => 6623,
                    'tax_symbol' => 23
                ]
            ]
        ]
    ]
);
```

Check [inFakt API Documentation](https://www.infakt.pl/developers) for all available options.

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity0

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity48

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

Unknown

Total

1

Last Release

2927d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/771899?v=4)[Mariusz Stróż](/maintainers/mrstroz)[@mrstroz](https://github.com/mrstroz)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/mrstroz-yii2-infakt/health.svg)

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

###  Alternatives

[skeeks/cms

SkeekS CMS — control panel and tools based on php framework Yii2

13825.6k47](/packages/skeeks-cms)

PHPackages © 2026

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