PHPackages                             fridris/invoice-pl - 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. fridris/invoice-pl

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

fridris/invoice-pl
==================

Faktury pl

00PHP

Since May 16Pushed 2y ago1 watchersCompare

[ Source](https://github.com/fridrisnew/invoice)[ Packagist](https://packagist.org/packages/fridris/invoice-pl)[ RSS](/packages/fridris-invoice-pl/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Polish Invoices
===============

[](#polish-invoices)

### Install

[](#install)

```
composer require fridris/invoice-pl

```

### Example

[](#example)

```
Route::get('/test', function (Faker $faker) {
    $invdet = new \Fridris\Invoice\Dto\InvoiceDetails();
    $invdet->seller->NIP = '90998909809';
    $invdet->seller->companyName = 'Comapny 1';
    $invdet->seller->address->city = "Warszawa";
    $invdet->seller->address->postCode = "09-123";
    $invdet->seller->address->street = "Wysoka 23";
    $invdet->seller->extra->Email = 'test@test.pl';
    $invdet->seller->extra->Phone = '791990824';

    $invdet->buyer->NIP = '123123123';
    $invdet->buyer->companyName = 'TestComapny';
    $invdet->buyer->address->city = "Sopot";
    $invdet->buyer->address->postCode = "01-123";
    $invdet->buyer->address->street = "Niska 32";
    $invdet->buyer->extra->Email = 'testowa@test.pl';
    $invdet->buyer->extra->Phone = '791990822';
    $invdet->paymentMethod = 'Bramka Płatnicza';

    $invdet->paymentDueToDate = \Carbon\Carbon::now()->addDays(30)->format('m-d-y');
    for($i=0;$iquantity = rand(0,100);
        $item->taxPercentage = 0.23;
        $item->totalAmount = rand(0,100);;
        $item->totalTaxAmount = $item->totalAmount * $item->taxPercentage;
        $item->totalNetAmount = $item->totalAmount -  $item->totalAmount * $item->taxPercentage;
        $item->unitName = "szt";
        $item->unitNetPrice = 1;
        $item->description = $faker->firstName();

        $invdet->items[] = $item;
    }
    $invdet->bankIban = $faker->iban();
    $invdet->logo = "https://picsum.photos/200/100";
    //$invdet->logo = resource_path().(DIRECTORY_SEPARATOR.'photo'.DIRECTORY_SEPARATOR.'logo_mini_new.png');

    return Invoice::create($invdet)->getStream();
});

```

###  Health Score

12

—

LowBetter than 0% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity0

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity22

Early-stage or recently created project

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/134f310b5d191e2304be925e56c7b0ea034ca23d6d5d7733921d3e76c6125abb?d=identicon)[fridris](/maintainers/fridris)

### Embed Badge

![Health badge](/badges/fridris-invoice-pl/health.svg)

```
[![Health](https://phpackages.com/badges/fridris-invoice-pl/health.svg)](https://phpackages.com/packages/fridris-invoice-pl)
```

PHPackages © 2026

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