maartendeblock / zenfactuurapi
用于连接 Zenfactuur API 的 PHP 服务
v1.0.3
2024-07-22 11:17 UTC
Requires
- php: ^7.4 || ^8.0
- ext-json: *
- fakerphp/faker: ^1.19
- guzzlehttp/guzzle: ^6.3 || ^7
Requires (Dev)
- phpunit/phpunit: 9.3.0
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);