定制 lenius/economic-php-client 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

lenius/economic-php-client

最新稳定版本:v2.0.1

Composer 安装命令:

composer require lenius/economic-php-client

包简介

PHP-SDK to communicate with E-Conomic

README 文档

README

PHP Tests Code Coverage Scrutinizer Code Quality Latest Stable Version Total Downloads License

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

GitHub 信息

  • Stars: 17
  • Watchers: 3
  • Forks: 6
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2016-07-18