PHPackages                             itexpertsbv/klippa - 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. itexpertsbv/klippa

ActiveLibrary[API Development](/categories/api)

itexpertsbv/klippa
==================

A php wrapper to easily work with the Klippa api.

1.0.3(4y ago)018.9k↑30%MITPHPPHP &gt;=8.1

Since Mar 25Pushed 4y ago2 watchersCompare

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

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

Klippa API
==========

[](#klippa-api)

This is a PHP wrapper to easily work with the Klippa API. For now we only support parsing of financial documents. In the future we will be adding the rest of the Klippa API.

More info at:

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

[](#installation)

```
composer require itexpertsbv/klippa
```

Usage
-----

[](#usage)

First you need to create a client with the an api key.

```
Use ITExperts\Klippa\Klippa;
Use ITExperts\Klippa\Klippa\Client\HttpClient;

$key = 'MkKjVvfjG2wJ5WAW3kkqgiZlWW0zN7aq'; // Sample key

// Create directly from Klippa
$klippa = Klippa::HttpClient($key);

// Build your own client first
$client = new HttpClient($key);
$klippa = new Klippa($client);
```

Then you have 2 options, parse a document from its base64 content string or pass a url for Klippa to download the document.

```
$base64 = base64_encode(file_get_contente('path/to/file.pdf'));
$document = $klippa->parseDocumentFromBase64($base64);

echo $document->invoiceNumber; // e.g. FT22-0234

$url = 'https://acme.com/invoice.pdf';
$document = $klippa->parseDocumentFromUrl($url);

echo $document->invoiceNumber; // e.g. FT22-0234
```

MIT License
-----------

[](#mit-license)

Copyright 2022 IT Experts BV

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity26

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity60

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

Total

4

Last Release

1511d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/a75c096c380c179ba0a6aa478837f37bbe0b108239f2d5773e68a51450e9501b?d=identicon)[christianvermeulen](/maintainers/christianvermeulen)

---

Top Contributors

[![ChristianVermeulen](https://avatars.githubusercontent.com/u/1062751?v=4)](https://github.com/ChristianVermeulen "ChristianVermeulen (5 commits)")

---

Tags

klippaocrphp

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/itexpertsbv-klippa/health.svg)

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

###  Alternatives

[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3731.2M42](/packages/tencentcloud-tencentcloud-sdk-php)[convertkit/convertkitapi

Kit PHP SDK for the Kit API

2167.1k1](/packages/convertkit-convertkitapi)[mapado/rest-client-sdk

Rest Client SDK for hydra API

1125.9k2](/packages/mapado-rest-client-sdk)

PHPackages © 2026

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