Skip to content

maartendeblock/zenfactuurapi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Zenfactuur API

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);