Download the PHP package sobyte/kdniao without Composer

On this page you can find all versions of the php package sobyte/kdniao. 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 kdniao

集成了 快递鸟 官方的Api,当前包含订阅物流信息 查询物流信息 电子面单下单 即时查询 三个接口。

安装

  1. 安装包文件

配置

  1. .env 文件中增加如下两项配置:

    • KDNIAO_EBUSINESS_ID:快点鸟用户ID。

    • KDNIAO_API_KEY:快点鸟ApiKey。

使用

  1. 获取快递公司列表

  2. 根据快递公司编码反查快递公司

  3. 订阅物流信息

    订阅结果字段:

    参数 类型 说明 可为空
    EBusinessID String 用户ID N
    UpdateTime String 时间 N
    Success Bool 成功与否:true,false N
    Reason String 失败原因Y,Success为false时有值 Y
  4. 查询物流信息

    查询结果字段:

    参数 类型 说明 可为空
    EBusinessID String 用户ID N
    OrderCode String 订单编号 Y
    ShipperCode String 快递公司编码 N
    LogisticCode String 物流运单号 Y
    Success Bool 成功与否:true,false N
    Reason String 失败原因Y,Success为false时有值 Y
    State String 物流状态:2-在途中,3-签收,4-问题件 N
    Traces JsonArray 物流信息,详细字段见下表 Y

    Traces(物流信息)字段:

    参数 类型 说明 可为空
    AcceptTime String 时间 N
    AcceptStation String 描述 N
    Remark String 备注 Y

License

The MIT License (MIT). Please see License File for more information.


All versions of kdniao with dependencies

PHP Build Version
Package Version
Requires illuminate/support Version >=5.1
php Version ~5.6|~7.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 sobyte/kdniao contains the following files

Loading the files please wait ....