2017 © Pedro Peláez
 

library fedex

FedEx API wrapper

image

maxirus/fedex

FedEx API wrapper

  • Tuesday, January 23, 2018
  • by maxirus
  • Repository
  • 4 Watchers
  • 11 Stars
  • 693 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 6 Forks
  • 2 Open issues
  • 2 Versions
  • 16 % Grown

The README.md

PHP FedEX Tracking API Wrapper

License Latest Stable Version Total Downloads, (*1)

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

Table Of Content

  1. Requirements
  2. Track Class

, (*3)

Requirements

This library uses PHP 5.3+., (*4)

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., (*5)

, (*6)

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., (*7)

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

, (*8)

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., (*9)

, (*10)

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);
}

, (*11)

Parameters

Track parameters are:, (*12)

  • trackingNumber The package’s tracking number.

The Versions

23/01 2018

dev-master

9999999-dev

FedEx API wrapper

  Sources   Download

MIT

The Requires

  • php >=5.3

 

The Development Requires

api wrapper tracking fedex

13/04 2015

v0.0.1-beta

0.0.1.0-beta

FedEx API wrapper

  Sources   Download

MIT

The Requires

  • php >=5.3

 

The Development Requires

api wrapper tracking fedex