maartendeblock/zenfactuurapi

用于连接 Zenfactuur API 的 PHP 服务

v1.0.3 2024-07-22 11:17 UTC

This package is auto-updated.

Last update: 2024-09-22 11:44:37 UTC


README

PHP 服务,用于连接到 https://app.zenfactuur.be/api_docs/v2.en.html 上的 Zenfactuur API

## 安装

composer require maartendeblock/zenfactuurapi

## 资源 资源已分组。请参阅 src/Apis 目录。

## 使用

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