承接 maxirus/fedex 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

maxirus/fedex

Composer 安装命令:

composer require maxirus/fedex

包简介

FedEx API wrapper

README 文档

README

License Latest Stable Version Total Downloads

This package is aimed at wrapping the FedEx Tracking service in a simple to use PHP Library. Feel free to contribute.

Table Of Content

  1. Requirements
  2. Track Class

Requirements

This library uses PHP 5.3+.

To use the FedEx API, you have to request an access key from FedEx. For every request, you will have to provide the Access Key, Password, Account Number and Meter Number.

Installation

It is recommended that you install the PHP FedEx Tracking API Wrapper library through composer. To do so, add the following lines to your composer.json file.

{
    "require": {
        "maxirus/fedex": "dev-master"
    }
}

Track Class

The Track Class allows you to track a shipment using the FedEx Tracking API by simply providing a Tracking # or Order Tag number.

Example

$tracking = new FedEx\TrackService\Track($accessKey, $password, $acctNum, $meterNum);

try {
	$shipment = $tracking->getByTrackingId('TRACKING NUMBER');
		
	var_dump($shipment);
	
} catch (Exception $e) {
	var_dump($e);
}

Parameters

Track parameters are:

  • trackingNumber The package’s tracking number.

统计信息

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

GitHub 信息

  • Stars: 17
  • Watchers: 4
  • Forks: 9
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-04-13

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固