PHPackages                             maxirus/fedex - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. maxirus/fedex

ActiveLibrary[API Development](/categories/api)

maxirus/fedex
=============

FedEx API wrapper

v0.0.1-beta(11y ago)176.6k↓100%9[3 issues](https://github.com/maxirus/fedex-tracking-api-wrapper/issues)[1 PRs](https://github.com/maxirus/fedex-tracking-api-wrapper/pulls)MITPHPPHP &gt;=5.3

Since Apr 13Pushed 8y ago4 watchersCompare

[ Source](https://github.com/maxirus/fedex-tracking-api-wrapper)[ Packagist](https://packagist.org/packages/maxirus/fedex)[ RSS](/packages/maxirus-fedex/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

PHP FedEX Tracking API Wrapper
==============================

[](#php-fedex-tracking-api-wrapper)

[![License](https://camo.githubusercontent.com/f48f8d6cf609f5b181b9c3218a85175fe8a5809c7ea400347f39697a5d55065d/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e7376673f7374796c653d666c6174)](https://packagist.org/packages/maxirus/fedex)[![Latest Stable Version](https://camo.githubusercontent.com/15694b96120d521b3ebfb01d9f486a9aa855a8a4c40a89bcb6f25009205852fd/687474703a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6d6178697275732f66656465782e7376673f7374796c653d666c6174)](https://packagist.org/packages/maxirus/fedex)[![Total Downloads](https://camo.githubusercontent.com/2d87b8abbb5c7afbc02ff06962b0880a889e09dda9d0e3923640341df525f8b2/687474703a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6d6178697275732f66656465782e7376673f7374796c653d666c6174)](https://packagist.org/packages/maxirus/fedex)

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

Table Of Content
----------------

[](#table-of-content)

1. [Requirements](#requirements)
2. [Track Class](#track-class)
    - [Example](#track-class-example)
    - [Parameters](#track-class-parameters)

Requirements
------------

[](#requirements)

This library uses PHP 5.3+.

To use the FedEx API, you have to [request an access key from FedEx](http://www.fedex.com/us/developer/). For every request, you will have to provide the Access Key, Password, Account Number and Meter Number.

Installation
------------

[](#installation)

It is recommended that you install the PHP FedEx Tracking API Wrapper library [through composer](http://getcomposer.org/). To do so, add the following lines to your `composer.json` file.

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

Track Class
-----------

[](#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

[](#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

[](#parameters)

Track parameters are:

- `trackingNumber` The package’s tracking number.

###  Health Score

30

—

LowBetter than 65% of packages

Maintenance16

Infrequent updates — may be unmaintained

Popularity34

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity44

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 83.3% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

4044d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/68642d0500975436191316344e1c8c0598095113b19266c605e0133b223bb606?d=identicon)[maxirus](/maintainers/maxirus)

---

Top Contributors

[![maxirus](https://avatars.githubusercontent.com/u/1676208?v=4)](https://github.com/maxirus "maxirus (10 commits)")[![mantrax314](https://avatars.githubusercontent.com/u/1956642?v=4)](https://github.com/mantrax314 "mantrax314 (1 commits)")[![sidm](https://avatars.githubusercontent.com/u/728604?v=4)](https://github.com/sidm "sidm (1 commits)")

---

Tags

apitrackingwrapperFedEx

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/maxirus-fedex/health.svg)

```
[![Health](https://phpackages.com/badges/maxirus-fedex/health.svg)](https://phpackages.com/packages/maxirus-fedex)
```

###  Alternatives

[gabrielbull/ups-api

PHP UPS API

4642.4M10](/packages/gabrielbull-ups-api)[gavroche/ups-api

PHP UPS API

45613.2k](/packages/gavroche-ups-api)[wtfzdotnet/php-tmdb-api

PHP wrapper for TMDB (TheMovieDatabase) API v3. Supports two types of approaches, one modelled with repositories, models and factories. And the other by simple array access to RAW data from The Movie Database.

4242.9k](/packages/wtfzdotnet-php-tmdb-api)[walle89/swedbank-json

Unofficial API client for the Swedbank's and Sparbanken's mobile apps in Sweden.

752.5k](/packages/walle89-swedbank-json)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
