lenius/economic-php-client
最新稳定版本:v2.0.1
Composer 安装命令:
composer require lenius/economic-php-client
包简介
PHP-SDK to communicate with E-Conomic
关键字:
README 文档
README
Install
Via Composer
$ composer require lenius/economic-php-client
Documentation
Please see the official e-conomic documentation.
Access all debitors
Call the Customers url /Customers
$appToken = 'demo'; $grant = 'demo'; $client = new Lenius\Economic\RestClient($appToken, $grant); $parms = ['pagesize' => 100]; $response = $client->request->get('customers', $parms); $status = $response->httpStatus(); if ($status == 200) { // Successful request $data = $response->asArray(); print_r($data); }
Testing
Run the tests with:
composer psalm
composer stan
composer test
Contributing
All PR's are welcome, just throw me one, and i take a look at it :)
License
This code is release under the MIT License, which means you can do pretty much whatever you wanna do with it. Take a look at the LICENSE file for more information.
Author
This packages is originally developed and maintained by Carsten Jonstrup.
统计信息
- 总下载量: 125.56k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 17
- 点击次数: 1
- 依赖项目数: 2
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2016-07-18