olsgreen/sage-business-cloud-accounting-api 问题修复 & 功能扩展

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

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

olsgreen/sage-business-cloud-accounting-api

Composer 安装命令:

composer require olsgreen/sage-business-cloud-accounting-api

包简介

This package provides a means easily of interacting with the Sage Business Cloud Accounting API.

README 文档

README

Latest Version Software License

This package provides a means easily of interacting with the Sage Business Cloud Accounting API.

Installation

Add the client to your project using composer.

composer require olsgreen/sage-business-cloud-accounting-api

Usage

Sage require that you exchange your key & secret for an access token, this is then used to access the API.

You can handle authentication and obtain an access token by using my other package that olsgreen/oauth2-sage-business-cloud for the PHP Leagues oAuth2 Client package.

Examples

Creating a basic Contact

    $sage = new \Olsgreen\SageBusinessCloud\Accounting\Client([
        'access_token' => 'your_acess_token'
    ]);

    $contact = $sage->contacts()->create('Peter Jones', ['CUSTOMER']);

    // [
    //     "id" => "4d63c58e4a8943ff81a5b1809b98e58a",
    //     "displayed_as" => "Peter Jones",
    //     "$path" => "/contacts/4d63c58e4a8943ff81a5b1809b98e58a",
    //     "created_at" => "2021-08-10T15:57:42Z",
    //     "updated_at" => "2021-08-10T15:57:42Z",
    //     ...
    // ]

Endpoint Support

Sage Business Cloud Accounting has numerous endpoints, we have only implemented a limited number so far:

✅ Contacts

✅ Contact Payments

✅ Contact Allocations

✅ Contact Types

✅ Countries

✅ Sales Invoices

✅ Purchase Invoices

✅ Transaction Types

✅ Tax Rates

✅ Journals

➖ Ledger Accounts

➖ Bank Accounts

➖ User

See the API Reference for a full list.

License

See attached license file

Contributions

Pull requests welcome 🙂

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2021-08-11

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固