PHPackages                             funkytime/yuki - 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. funkytime/yuki

ActiveLibrary[API Development](/categories/api)

funkytime/yuki
==============

A php connector for Yuki's Sales and Accounting API (subsets), intended to create Sales Invoices and get back payment status.

19345PHP

Since Jul 6Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/FunkyTime/Yuki)[ Packagist](https://packagist.org/packages/funkytime/yuki)[ RSS](/packages/funkytime-yuki/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependenciesVersions (1)Used By (0)

funkytime/yuki
==============

[](#funkytimeyuki)

A php connector for Yuki's Sales and Accounting API (subsets), intended to create Sales Invoices and get back payment status.

```
$invoice = [
    'Reference' => '',
    // ...
    'Contact' => [
        'ContactCode' => '',
        // ...
    ]
    'ContactPerson' => ['FullName' => ''],
    'InvoiceLines' => [
        'InvoiceLine' => [
            'ProductQuantity' => '',
            'Product' => [
                'Description' => '',
                // ...
            ]
        ]
    ]
    ];
];
$YukiSales = new \FunkyTime\Yuki($api_key, 'sales');
$YukiSales->ProcessInvoice($invoice);
```

```
$YukiAccounting = new \FunkyTime\Yuki($api_key, 'accounting');
$status = $YukiAccounting->GetInvoiceBalance($inv_reference);
// Result: an array with keys 'openAmount' and 'originalAmount'
```

Region (NL / BE)
----------------

[](#region-nl--be)

Yuki uses separate API hosts per country. Pass the region as the third constructor argument:

- Belgian customers: `api.yukiworks.be` (default)
- Dutch customers: `api.yukiworks.nl`

```
$region = \FunkyTime\Yuki::regionFromVat($ownerVat) ?? \FunkyTime\Yuki::REGION_BE;

$YukiSales = new \FunkyTime\Yuki($api_key, 'sales', $region);
$YukiAccounting = new \FunkyTime\Yuki($api_key, 'accounting', $region);
```

When VAT is unavailable, store the region alongside the API key in your application.

###  Health Score

26

—

LowBetter than 40% of packages

Maintenance60

Regular maintenance activity

Popularity21

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity11

Early-stage or recently created project

 Bus Factor1

Top contributor holds 76.9% 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/1294e4b84276a57b002a3b60e82431e5dbe19fa6582dffb77aaf671fe0bd9be5?d=identicon)[Joris Debonnet](/maintainers/Joris%20Debonnet)

---

Top Contributors

[![JorisDebonnet](https://avatars.githubusercontent.com/u/3286264?v=4)](https://github.com/JorisDebonnet "JorisDebonnet (20 commits)")[![nelis-braems](https://avatars.githubusercontent.com/u/29859716?v=4)](https://github.com/nelis-braems "nelis-braems (6 commits)")

### Embed Badge

![Health badge](/badges/funkytime-yuki/health.svg)

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

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35816.5M7](/packages/exsyst-swagger)[lucasdotvin/laravel-soulbscription

A straightforward interface to handle subscriptions and features consumption.

709209.3k](/packages/lucasdotvin-laravel-soulbscription)[pimax/fb-messenger-php

Facebook Messenger Bot PHP API

313188.5k2](/packages/pimax-fb-messenger-php)

PHPackages © 2026

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