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

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

tomaj/invoice-client
====================

Invoice client

125[1 PRs](https://github.com/tomaj/invoice-client/pulls)PHP

Since Feb 21Pushed 9mo ago1 watchersCompare

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

READMEChangelogDependenciesVersions (2)Used By (0)

Invoice client
==============

[](#invoice-client)

In development mode.

[![Build Status](https://camo.githubusercontent.com/5c9877583d5ba2b9b453a98135fd209dd1b4e8da5ffd6cff9c68b6a4c8046f98/68747470733a2f2f7472617669732d63692e6f72672f746f6d616a2f696e766f6963652d636c69656e742e737667)](http://travis-ci.org/tomaj/invoice-client)[![Code Climate](https://camo.githubusercontent.com/611ed761384e77076091fc302883bc2ec649fb87c7c5bf354592ae85df1d666f/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f746f6d616a2f696e766f6963652d636c69656e742f6261646765732f6770612e737667)](https://codeclimate.com/github/tomaj/invoice-client)[![Test Coverage](https://camo.githubusercontent.com/fb670d4212f1f948e2ef0b53160671697a0c65bbba3188d91ddb50b46f2d794c/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f746f6d616a2f696e766f6963652d636c69656e742f6261646765732f636f7665726167652e737667)](https://codeclimate.com/github/tomaj/invoice-client/coverage)[![Dependency Status](https://camo.githubusercontent.com/a4107272960a105b5163d6fe7f5c82d90f6fd98328670286351847f93a61f99b/68747470733a2f2f7777772e76657273696f6e6579652e636f6d2f757365722f70726f6a656374732f3535386336666263363533323332303031653030303638372f62616467652e7376673f7374796c653d666c6174)](https://www.versioneye.com/user/projects/558c6fbc653232001e000687)

[![Latest Stable Version](https://camo.githubusercontent.com/02eb17a03de56870722487db3cdee468ece255146f1815c28969f7564293d104/68747470733a2f2f706f7365722e707567782e6f72672f746f6d616a2f696e766f6963652d636c69656e742f762f737461626c65)](https://packagist.org/packages/tomaj/csv-processor)

Basic usage
-----------

[](#basic-usage)

```
use Invoice\InvoiceApi;
use Invoice\Invoice;
use Invoice\InvoiceItem;

$invoiceApi = new InvoiceApi('*APIKEY*');

$invoiceItem = new InvoiceItem();
$invoiceItem
    ->setQuantity(10)
    ->setPrice(2.4)
    ->setVat(20);

$invoice = new Invoice();
$invoice
    ->setName('Invoice 12323')
    ->setDescription('invoice description...')
    ->addItem($invoiceItem);
    // there are other method to set invoice properties...

$result = $invoiceApi->createInvoice($invoice);

if ($result->isOK()) {
    echo "Download pdf: " . $result->getDownloadUrl() . "\n";
    echo "Online HTML version:" . $result->getHtmlUrl() . "\n";
} else {
    echo "Error: " . $result->getErrorMessage() . "\n";
}
```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance40

Moderate activity, may be stable

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity43

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/875f8397233f01d81479a45bf6a64ca995f04d8ee9e72118f2ffcf129c502f12?d=identicon)[tomaj](/maintainers/tomaj)

---

Top Contributors

[![tomaj](https://avatars.githubusercontent.com/u/446736?v=4)](https://github.com/tomaj "tomaj (18 commits)")

### Embed Badge

![Health badge](/badges/tomaj-invoice-client/health.svg)

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

###  Alternatives

[jibaymcs/filament-tour

Bring the power of DriverJs to your Filament panels and start a tour !

12247.8k](/packages/jibaymcs-filament-tour)[steverobbins/redismanager

View and flush Redis services

1394.6k](/packages/steverobbins-redismanager)[saad-tazi/g-chart-bundle

A super simple Bundle that facilitate the usage of Google Chart Tool, Google Chart Image API and Google Infographics.

20167.1k](/packages/saad-tazi-g-chart-bundle)

PHPackages © 2026

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