Download the PHP package ta-chain/tachain-sdk without Composer

On this page you can find all versions of the php package ta-chain/tachain-sdk. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package tachain-sdk

TachainSdk

Public integration endpoints. Set your own base URL and credential before calling.

Installation & Usage

Requirements

PHP 8.1 and later.

Composer

To install the bindings via Composer, add the following to composer.json:

Then run composer install

Manual Installation

Download the files and include autoload.php:

Getting Started

Please follow the installation procedure and then run the following:

API Endpoints

All URIs are relative to https://api.example.com

Class Method HTTP request Description
ApiDeclarationApi deleteV1DeclarationDelete DELETE /v1/declaration/Delete 申报信息删除接口。
ApiDeclarationApi getV1DeclarationListPaging GET /v1/declaration/ListPaging 申报信息查询接口。
ApiDeclarationApi getV1DeclarationRequiredDocuments GET /v1/declaration/RequiredDocuments 单据所需申报信息查询接口。
ApiDeclarationApi postV1DeclarationSubmit POST /v1/declaration/Submit 申报文件/表单提交接口。
ApiDeliveryApi deleteV1DeliveryDelete DELETE /v1/delivery/Delete 删除发货单。
ApiDeliveryApi getV1DeliveryListPaging GET /v1/delivery/ListPaging 查询发货单信息及明细信息。
ApiDeliveryApi getV1DeliveryReceiptListPaging GET /v1/delivery/ReceiptListPaging 查询收货单集合,核对收货信息。
ApiDeliveryApi postV1DeliveryCreate POST /v1/delivery/Create 创建发货单。
ApiDeliveryApi putV1DeliveryConfirmReceipt PUT /v1/delivery/ConfirmReceipt 确认收货。
ApiDeliveryApi putV1DeliveryReturnReceipt PUT /v1/delivery/ReturnReceipt 收货退回。
ApiDeliveryApi putV1DeliveryUpdate PUT /v1/delivery/Update 修改发货单。
ApiEnumApi getV1EnumGetList GET /v1/enum/GetList 第三方-获取统一枚举列表(支持批量查询/查询所有)
ApiOrderApi deleteV1OrderDelete DELETE /v1/order/Delete 第三方-更新订单状态(通过匹配条件获取订单ID)
ApiOrderApi deleteV1OrderDeleteLine DELETE /v1/order/DeleteLine 第三方-更新订单明细状态(通过匹配条件获取明细ID)
ApiOrderApi getV1OrderPOListPaging GET /v1/order/POListPaging 第三方-获取采购订单分页列表(含明细)
ApiOrderApi getV1OrderSOListPaging GET /v1/order/SOListPaging 第三方-获取销售订单分页列表(含明细)
ApiOrderApi postV1OrderCreate POST /v1/order/Create 第三方-创建订单(含明细)
ApiOrderApi postV1OrderSoAccept POST /v1/order/SoAccept 第三方-销售订单接单(支持绑定成品/自动创建成品)
ApiOrderApi putV1OrderUpdate PUT /v1/order/Update 第三方-更新订单(部分字段)
ApiOrderWorkflowApi postV1OrderSubmitAudit POST /v1/order/SubmitAudit 销售方根据已入库的订单、生产、发货及申报资料提交审核。
ApiOrderWorkflowApi putV1OrderConfirmReceipt PUT /v1/order/ConfirmReceipt 采购方按整单或单条订单明细确认收货。
ApiProductionApi deleteV1ProductionDelete DELETE /v1/production/Delete 删除生产记录单。
ApiProductionApi getV1ProductionListPaging GET /v1/production/ListPaging 查询生产记录单及详细领料信息。
ApiProductionApi postV1ProductionCreate POST /v1/production/Create 创建生产记录单。
ApiProductionApi putV1ProductionUpdate PUT /v1/production/Update 修改生产记录单。

Models

Authorization

Authentication schemes defined for the API:

BearerToken

ApiKey

Timestamp

Signature

Tests

To run the tests, use:

Author

About this package

This PHP package is automatically generated by the OpenAPI Generator project:


All versions of tachain-sdk with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
ext-curl Version *
ext-json Version *
ext-mbstring Version *
guzzlehttp/guzzle Version ^7.3
guzzlehttp/psr7 Version ^1.7 || ^2.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package ta-chain/tachain-sdk contains the following files

Loading the files please wait ...