miisieq/infakt-client 问题修复 & 功能扩展

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

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

miisieq/infakt-client

Composer 安装命令:

composer require miisieq/infakt-client

包简介

InfaktClient is a PHP library for the third version of Infakt REST API that makes it easy to perform CRUD (create, read, update and delete) operations on invoices, clients and products.

README 文档

README

Style-CI Travis CI Coverage Downloads Release
StyleCI Travis CI Coverage Status Total Downloads Latest Stable Version

InfaktClient is a PHP library for the third version of Infakt REST API that makes it easy to perform CRUD (create, read, update and delete) operations on invoices, clients and products.

Quick start

Step 1: Install the package

Install Composer and run the following command to get the latest version:

composer require miisieq/infakt-client

Step 2: Create an instance of the client

$infakt = new \Infakt\Infakt(
    '7e2356a0a400d6ec3d2ced911991f3e8',
    new \GuzzleHttp\Client()
);

Resources reference

Clients

Get all

$clients = $infakt->getRepository(\Infakt\Model\Client::class)->getAll();

Get by ID

$client = $infakt->getRepository(\Infakt\Model\Client::class)->get(2887744);

See more: Infakt API Documentation

Bank Accounts

Get all

$bankAccounts = $infakt->getRepository(\Infakt\Model\BankAccount::class)->getAll();

Get by ID

$bankAccount = $infakt->getRepository(\Infakt\Model\BankAccount::class)->get(4786512);

See more: Infakt API Documentation

VAT Rate

Get all

$infakt->getRepository(\Infakt\Model\VatRate::class)->getAll()

See more: Infakt API Documentation

Contributing

Running tests (phpunit/phpunit)

$ composer tests

Running code style fixer (friendsofphp/php-cs-fixer)

$ composer phpcs

License

This package is released under the MIT license. See the included LICENSE file for more information.

统计信息

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

GitHub 信息

  • Stars: 4
  • Watchers: 2
  • Forks: 5
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2017-12-14

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固