maartendeblock/zenfactuurapi

PHP service to connect to the Zenfactuur API

v1.0.2 2022-11-25 13:33 UTC

This package is auto-updated.

Last update: 2024-04-25 16:36:57 UTC


README

PHP service to connect to the Zenfactuur API at https://app.zenfactuur.be/api_docs/v2.en.html

##Installation

composer require maartendeblock/zenfactuurapi

##Recourses Resources are grouped. See src/Apis directory.

##Usage

// You can find the api token in the settings of ZenFactuur.
$api_token = 'YOUR API_TOKEN';

// Create an instance of the ZenFactuur Client.
$zenfactuur = new \MaartenDeBlock\ZenFactuurApi\ZenFactuurApiClient($api_token);

// Get all the customers.
$customers = $zenfactuur->Customer->getAllCustomers();

var_dump($customers);