PHPackages                             mafacturation/php-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. [API Development](/categories/api)
4. /
5. mafacturation/php-client

ActiveLibrary[API Development](/categories/api)

mafacturation/php-client
========================

017PHP

Since Nov 23Pushed 2y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

Mafacturation PHP Client
========================

[](#mafacturation-php-client)

This is a PHP client for the Mafacturation API. [Mafacturation](https://mafacturation.be) is a Belgian quoting &amp; invoicing software for freelancers and small businesses, with a REST API.

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

[](#installation)

You can install the package via composer:

```
composer require mafacturation/php-client
```

Usage
-----

[](#usage)

You can use the client like this, by passing the API key to the constructor. The API key can be found in the Mafacturation settings.

Tenancy is supported by passing the tenant ID to the constructor. The tenant ID can be found in the Mafacturation settings.

```
use Mafacturation\Mafacturation;
$maFacturation = new Mafacturation('your-api-key', 'your-tenant-id');
//or
$maFacturation = new Mafacturation();
$maFacturation->setToken('your-api-key');
$maFacturation->setTenantId('your-tenant-id');
```

### Customers

[](#customers)

```
// Get all customers
$customers = $maFacturation->customers()->get();

// Get a customer by ID
$customer = $maFacturation->customers()->get(1);
```

###  Health Score

14

—

LowBetter than 2% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity20

Early-stage or recently created project

 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/bde7d19994372b4f959bc78beb3040c1b08d7ebb6f035304e9cca9d144823062?d=identicon)[WhereIsLucas](/maintainers/WhereIsLucas)

---

Top Contributors

[![WhereIsLucas](https://avatars.githubusercontent.com/u/25830895?v=4)](https://github.com/WhereIsLucas "WhereIsLucas (1 commits)")

### Embed Badge

![Health badge](/badges/mafacturation-php-client/health.svg)

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

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M475](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M270](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

263103.1M452](/packages/google-gax)

PHPackages © 2026

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