maartendeblock / zenfactuurapi
PHP service to connect to the Zenfactuur API
v1.0.2
2022-11-25 13:33 UTC
Requires
- php: ^7.4 || ^8.0
- ext-json: *
- fakerphp/faker: ^1.19
- guzzlehttp/guzzle: ^6.3
Requires (Dev)
- phpunit/phpunit: 9.3.0
This package is auto-updated.
Last update: 2023-08-25 15:10:06 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);