PHPackages                             firling/invoicereader - 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. firling/invoicereader

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

firling/invoicereader
=====================

return the name, total, vat and date of the sent invoice (image)

1.0.4(6y ago)110PHPPHP &gt;=7.1.0

Since Feb 13Pushed 6y ago1 watchersCompare

[ Source](https://github.com/firling/InvoiceReader)[ Packagist](https://packagist.org/packages/firling/invoicereader)[ RSS](/packages/firling-invoicereader/feed)WikiDiscussions master Synced 6d ago

READMEChangelog (5)DependenciesVersions (6)Used By (0)

Invoice Reader
==============

[](#invoice-reader)

### `composer require firling/invoicereader`

[](#composer-require-firlinginvoicereader)

### `https://packagist.org/packages/firling/invoicereader`

[](#httpspackagistorgpackagesfirlinginvoicereader)

---

This package is using the Microsoft Cognitive Services API, you'll need to provide an API key, as well as a base url.

function: readInvoice($apiKey, $baseUrl, $imageB64)
---------------------------------------------------

[](#function-readinvoiceapikey-baseurl-imageb64)

###### Factors

[](#factors)

- $apiKey: key of the Microsoft Cognitive Services API
- $baseUrl: base url of the Microsoft Cognitive Services API
- $imageB64: image hashed in base64.

###### Returns

[](#returns)

This function return an array / dict of different value :

- lines: array of every line the microsoft api returns
- name: name of the invoice (a bit random)
- date: date of the invoice
- total: total price of the invoice
- VAT: VAT of the invoice (if there's no vat on the invoice, it'll return what it thinks is a vat)

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity55

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

Every ~0 days

Total

5

Last Release

2285d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/56035542?v=4)[delasalle-sio-anquetil-j](/maintainers/janquetil)[@janquetil](https://github.com/janquetil)

---

Top Contributors

[![firling](https://avatars.githubusercontent.com/u/48825444?v=4)](https://github.com/firling "firling (12 commits)")

### Embed Badge

![Health badge](/badges/firling-invoicereader/health.svg)

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

###  Alternatives

[bueltge/wordpress-admin-style

Shows the WordPress admin styles on one page to help you to develop WordPress compliant

98316.4k1](/packages/bueltge-wordpress-admin-style)[yii2mod/yii2-markdown

Markdown Widget for Yii2

1347.7k5](/packages/yii2mod-yii2-markdown)[splitbrain/php-ringicon

A indenticon/glyphicon like avatar generator

1613.3k1](/packages/splitbrain-php-ringicon)[willywes/agora-sdk-php

Agora.io SDK PHP

1023.2k2](/packages/willywes-agora-sdk-php)

PHPackages © 2026

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