PHPackages                             mantix/eboekhouden-rest-laravel - 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. mantix/eboekhouden-rest-laravel

ActiveLibrary[API Development](/categories/api)

mantix/eboekhouden-rest-laravel
===============================

Laravel integration for e-Boekhouden.nl REST API

V1.1(2mo ago)0471MITPHPPHP ^8.0|^8.1|^8.2|^8.3|^8.4|^8.5

Since Mar 18Pushed 2mo ago1 watchersCompare

[ Source](https://github.com/Mantix/eboekhouden-rest-laravel)[ Packagist](https://packagist.org/packages/mantix/eboekhouden-rest-laravel)[ RSS](/packages/mantix-eboekhouden-rest-laravel/feed)WikiDiscussions main Synced 3w ago

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

e-Boekhouden REST API Laravel Integration
=========================================

[](#e-boekhouden-rest-api-laravel-integration)

Laravel integratie voor de [e-Boekhouden.nl REST API](https://github.com/mantix/eboekhouden-rest-api).

Installatie
-----------

[](#installatie)

Je kunt dit package installeren via Composer:

```
composer require mantix/eboekhouden-rest-laravel
```

Laravel Compatibiliteit
-----------------------

[](#laravel-compatibiliteit)

Dit package ondersteunt Laravel versies 10, 11 en 12.

Configuratie
------------

[](#configuratie)

Je kunt direct beginnen met alleen het instellen van je API token en source identifier in je `.env` bestand:

```
EBOEKHOUDEN_API_TOKEN=jouw_api_token
EBOEKHOUDEN_SOURCE=JouwApp

```

Optioneel kun je het configuratiebestand publiceren als je meer controle wilt over de instellingen:

```
php artisan vendor:publish --tag=eboekhouden-config
```

Dit maakt een `config/eboekhouden.php` bestand aan in je project dat je kunt aanpassen.

Basis gebruik
-------------

[](#basis-gebruik)

Je kunt de e-Boekhouden REST API gebruiken via de `EBoekhouden` facade:

```
use Mantix\EBoekhoudenRestLaravel\Facades\EBoekhouden;

// Relaties ophalen
$relations = EBoekhouden::getRelations();

// Een nieuwe relatie aanmaken
$newRelation = EBoekhouden::createRelation([
    'name' => 'Mijn nieuwe klant',
    'address' => 'Voorbeeldstraat 123',
    'postalCode' => '1234 AB',
    'city' => 'Amsterdam',
]);
```

Dependency Injection
--------------------

[](#dependency-injection)

Je kunt ook dependency injection gebruiken:

```
use Mantix\EBoekhoudenRestApi\Client;

class RelationController
{
    public function index(Client $eboekhouden)
    {
        return $eboekhouden->getRelations();
    }
}
```

Filter Gebruik
--------------

[](#filter-gebruik)

De Filter class uit het basis package werkt ook hier:

```
use Mantix\EBoekhoudenRestApi\Filter;
use Mantix\EBoekhoudenRestLaravel\Facades\EBoekhouden;

// Zoek relaties met "Bedrijf" in de naam
$relations = EBoekhouden::getRelations([
    'name' => Filter::like('%Bedrijf%'),
]);
```

Sessie Beheer
-------------

[](#sessie-beheer)

Sessie beheer gebeurt automatisch. De client zal een sessie aanmaken wanneer nodig en deze hergebruiken voor volgende aanroepen. In een typische Laravel applicatie gaat dit achter de schermen. Je kunt wel expliciet de sessie beëindigen als je dat wilt:

```
EBoekhouden::endSession();
```

Foutafhandeling
---------------

[](#foutafhandeling)

Fouten van de API worden als `EBoekhoudenException` geworpen, die je kunt afhandelen met try/catch:

```
use Mantix\EBoekhoudenRestApi\EBoekhoudenException;
use Mantix\EBoekhoudenRestLaravel\Facades\EBoekhouden;

try {
    $relations = EBoekhouden::getRelations();
} catch (EBoekhoudenException $e) {
    Log::error('e-Boekhouden API fout: ' . $e->getMessage());
    Log::error('API foutcode: ' . $e->getErrorCode());

    // Volledige foutrespons
    Log::debug($e->getErrorResponse());
}
```

Beschikbare Methodes
--------------------

[](#beschikbare-methodes)

Alle methodes van de onderliggende client zijn beschikbaar via de facade. Zie de [documentatie van mantix/eboekhouden-rest-api](https://github.com/mantix/eboekhouden-rest-api) voor een volledige lijst.

Tests uitvoeren
---------------

[](#tests-uitvoeren)

```
composer test
```

License
-------

[](#license)

MIT

###  Health Score

45

—

FairBetter than 91% of packages

Maintenance85

Actively maintained with recent releases

Popularity18

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity56

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

Total

2

Last Release

77d ago

PHP version history (2 changes)V1.0PHP ^8.0|^8.1|^8.2|^8.3

V1.1PHP ^8.0|^8.1|^8.2|^8.3|^8.4|^8.5

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/5512138?v=4)[Pieter Naber](/maintainers/Mantix)[@Mantix](https://github.com/Mantix)

---

Top Contributors

[![Mantix](https://avatars.githubusercontent.com/u/5512138?v=4)](https://github.com/Mantix "Mantix (3 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/mantix-eboekhouden-rest-laravel/health.svg)

```
[![Health](https://phpackages.com/badges/mantix-eboekhouden-rest-laravel/health.svg)](https://phpackages.com/packages/mantix-eboekhouden-rest-laravel)
```

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3345.1M337](/packages/psalm-plugin-laravel)[laravel/ai

The official AI SDK for Laravel.

9782.1M162](/packages/laravel-ai)[defstudio/telegraph

A laravel facade to interact with Telegram Bots

815320.5k3](/packages/defstudio-telegraph)[moonshine/moonshine

Laravel administration panel

1.3k239.9k76](/packages/moonshine-moonshine)[tallstackui/tallstackui

TallStackUI is a powerful suite of Blade components that elevate your workflow of Livewire applications.

721160.4k12](/packages/tallstackui-tallstackui)[simplestats-io/laravel-client

Analytics for Laravel. Track visitors, registrations, and payments. Discover which channels actually drive revenue, not just traffic. Server-side, GDPR compliant, ad-blocker proof.

5019.3k](/packages/simplestats-io-laravel-client)

PHPackages © 2026

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