koren-software/erplybooks-api-php-client 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

koren-software/erplybooks-api-php-client

最新稳定版本:0.3.0

Composer 安装命令:

composer require koren-software/erplybooks-api-php-client

包简介

PHP Client to interact with Erply Books API

README 文档

README

Actions Status Coverage Status Latest Stable Version Total Downloads License

Erply Books API PHP client

Install

composer require koren-software/erplybooks-api-php-client

Usage

$token = ''; // Set your API token
$client = new Koren\ErplyBooks\Client($token);

Get many

$response = $client->Invoices()->get(); // Koren\ErplyBooks\Response\ItemsResponse

Get by ID

$response = $client->Invoices()->get(1); // Koren\ErplyBooks\Response\ItemResponse

Predefined interfaces used

$invoices = $client->Invoices()->get(); // Koren\ErplyBooks\Response\ItemsResponse

// Items response is iterable
foreach ($invoices as $invoice) {
    // Do something with $invoice
}

// Responses are jsonable
$json = json_decode($response); // json string of all items or item

// Responses are countable
$count = count($response); // integer (how many items were in response)

Development

  • composer build - build by running tests and all code checks
  • composer test - run PHPUnit
  • composer format - format code against standards
  • composer phpcs - run PHP Codesniffer against PSR-2 standards
  • composer phpmd - run PHP Mess Detector
  • composer docs - generate docs with PHP Documentator (expects apigen/apigen installed globally cause of conflicts)

统计信息

  • 总下载量: 275
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 5
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 0
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2020-07-15

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固