PHPackages                             sumocoders/defactuur - 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. sumocoders/defactuur

ActiveLibrary[API Development](/categories/api)

sumocoders/defactuur
====================

PHP DeFactuur is a (wrapper)class to communicate with DeFactuur (https://www.defactuur.be).

v2.1.1(7mo ago)02612BSD-2-ClausePHPPHP &gt;=7.4.0

Since Oct 13Pushed 7mo ago1 watchersCompare

[ Source](https://github.com/sumocoders/DeFactuur)[ Packagist](https://packagist.org/packages/sumocoders/defactuur)[ Docs](https://github.com/sumocoders/DeFactuur)[ RSS](/packages/sumocoders-defactuur/feed)WikiDiscussions master Synced 4w ago

READMEChangelog (7)Dependencies (2)Versions (10)Used By (0)

DeFactuur class
===============

[](#defactuur-class)

> De Factuur is an online invoicing web application

About
-----

[](#about)

PHP DeFactuur is a (wrapper)class to communicate with [De Factuur](https://www.defactuur.be).

License
-------

[](#license)

PHP DeFactuur is [BSD](http://classes.verkoyen.eu/overview/bsd) licensed.

Initialisation
--------------

[](#initialisation)

Using symfony/httpclient:

```
use Nyholm\Psr7\Factory\Psr17Factory;
use Symfony\Component\HttpClient\Psr18Client;

$deFactuur = new DeFactuur(
    new Psr18Client(),
    new Psr17Factory(),
    new Psr17Factory(),
    'your_api_token'
);

```

Using Guzzle:

```
$deFactuur = new \SumoCoders\DeFactuur\DeFactuur(
    new \GuzzleHttp\Client(),
    new \Nyholm\Psr7\Factory\Psr17Factory(),
    new \Nyholm\Psr7\Factory\Psr17Factory(),
    'your_api_token'
);

```

You can replace Psr17Factory with your own implementations of PSR-17's RequestFactoryInterface and StreamFactoryInterface.

Using DeFactuur as a Service
----------------------------

[](#using-defactuur-as-a-service)

Add the following to your services.yml:

```
SumoCoders\DeFactuur\DeFactuur:
    arguments:
        $apiToken: '%your.api.token%'

```

If you use auto-wiring, that's it!

Documentation
-------------

[](#documentation)

Each method in the class is well documented using PHPDoc.

###  Health Score

41

—

FairBetter than 88% of packages

Maintenance69

Regular maintenance activity

Popularity15

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 50.3% 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 ~243 days

Recently: every ~107 days

Total

7

Last Release

211d ago

Major Versions

v1.0.0 → v2.0.02024-08-05

### Community

Maintainers

![](https://www.gravatar.com/avatar/0afcdc0a47a32db64cc2e4c3b4cf59a5e283040d6e9f34284933394c24841f68?d=identicon)[tijsverkoyen](/maintainers/tijsverkoyen)

---

Top Contributors

[![tijsverkoyen](https://avatars.githubusercontent.com/u/250042?v=4)](https://github.com/tijsverkoyen "tijsverkoyen (83 commits)")[![davysumo](https://avatars.githubusercontent.com/u/73877717?v=4)](https://github.com/davysumo "davysumo (55 commits)")[![jonasdekeukelaere](https://avatars.githubusercontent.com/u/4092903?v=4)](https://github.com/jonasdekeukelaere "jonasdekeukelaere (13 commits)")[![carakas](https://avatars.githubusercontent.com/u/3634654?v=4)](https://github.com/carakas "carakas (6 commits)")[![turanct](https://avatars.githubusercontent.com/u/1728360?v=4)](https://github.com/turanct "turanct (4 commits)")[![absumo](https://avatars.githubusercontent.com/u/116194801?v=4)](https://github.com/absumo "absumo (3 commits)")[![StijnVrolijk](https://avatars.githubusercontent.com/u/442529?v=4)](https://github.com/StijnVrolijk "StijnVrolijk (1 commits)")

### Embed Badge

![Health badge](/badges/sumocoders-defactuur/health.svg)

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

###  Alternatives

[openai-php/client

OpenAI PHP is a supercharged PHP API client that allows you to interact with the Open AI API

5.8k22.6M232](/packages/openai-php-client)[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M647](/packages/sylius-sylius)[mollie/mollie-api-php

Mollie API client library for PHP. Mollie is a European Payment Service provider and offers international payment methods such as Mastercard, VISA, American Express and PayPal, and local payment methods such as iDEAL, Bancontact, SOFORT Banking, SEPA direct debit, Belfius Direct Net, KBC Payment Button and various gift cards such as Podiumcadeaukaart and fashioncheque.

59914.4M60](/packages/mollie-mollie-api-php)[intercom/intercom-php

Intercom API client.

30320.5M26](/packages/intercom-intercom-php)[theodo-group/llphant

LLPhant is a library to help you build Generative AI applications.

1.5k311.5k5](/packages/theodo-group-llphant)[deeplcom/deepl-php

Official DeepL API Client Library

2616.2M66](/packages/deeplcom-deepl-php)

PHPackages © 2026

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