shipmates/shipmates-php 问题修复 & 功能扩展

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

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

shipmates/shipmates-php

Composer 安装命令:

composer require shipmates/shipmates-php

包简介

Shipmate PHP Library

README 文档

README

a simple unofficial library for the use of Shipmate api.

Requirements\

php 5.3.3 and later

Composer

You can install the bindings via Composer. Run the following command:

composer require shipmates/shipmates-php

To use the bindings, use Composer's autoload:

require_once('vendor/autoload.php');

There is no manual installation available at the moment.

Gettion started

Simple usage looks like:

\Shipmate\Shipmate::setApiKey('your-api-key');
$deletedConsignment = \Shipmate\Consignment::delete('consignment-reference-number');
echo $deletedConsignment;

or:

\Shipmate\Shipmate::setApiKey('your-api-key');
$attributes = \Shipmate\Parcel::allAttributes();
echo $attributes;

The above will make it easier to interact with the Shipmate api, calling the api will be as easy as calling a method, the developer will not have to know anything about headers or the HTTPclient if using Laravel. Everything is managed by the library.

The library can be tested here

Documentation

the documentation is not complete as the library is not ready for production use, it is just an example.

Tests

the library is not tested.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2021-06-14

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固