PHPackages                             darkain/php-tracking-urls - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. darkain/php-tracking-urls

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

darkain/php-tracking-urls
=========================

Converts package tracking numbers into URLs (UPS, FedEx, USPS, and more)

5995126[2 issues](https://github.com/darkain/php-tracking-urls/issues)PHP

Since Jul 16Pushed 3y ago8 watchersCompare

[ Source](https://github.com/darkain/php-tracking-urls)[ Packagist](https://packagist.org/packages/darkain/php-tracking-urls)[ RSS](/packages/darkain-php-tracking-urls/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

PHP Package Tracking URL Library
================================

[](#php-package-tracking-url-library)

[![Build Status](https://camo.githubusercontent.com/104e28f2584a65f8b7d175b9e649a44687b47f3a680ac6a3c2e1a11eaba6f1c8/68747470733a2f2f7472617669732d63692e636f6d2f6461726b61696e2f7068702d747261636b696e672d75726c732e7376673f6272616e63683d6d6173746572)](https://travis-ci.com/github/darkain/php-tracking-urls)

About
-----

[](#about)

PHP Package Tracking URL Library is used to convert package tracking numbers into their respective shipper's online tracking URL format.

Supported shippers:

- United States Postal Service (USPS)
- United Parcel Service (UPS)
- Federal Express (FedEx)
- OnTrac
- DHL

License
-------

[](#license)

This software library is licensed under the BSD 2-clause license, and may be freely used in any project which is compatible with this license.

Example
-------

[](#example)

Usage:

```
$tracking = '1Z9999W99999999999';
$url = get_tracking_url($tracking);
echo $url;
```

Output:

```
http://wwwapps.ups.com/WebTracking/processInputRequest?TypeOfInquiryNumber=T&InquiryNumber1=1Z9999W99999999999

```

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance19

Infrequent updates — may be unmaintained

Popularity30

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity40

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 97.4% 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/fd40af187b9bb1ced373255df9b68e1ee45536423c16f8c48284f2d047707132?d=identicon)[darkain](/maintainers/darkain)

---

Top Contributors

[![darkain](https://avatars.githubusercontent.com/u/2524251?v=4)](https://github.com/darkain "darkain (38 commits)")[![JamoCA](https://avatars.githubusercontent.com/u/1112671?v=4)](https://github.com/JamoCA "JamoCA (1 commits)")

---

Tags

dhlfedexphpshippingshipping-apishipping-urlupsusps

### Embed Badge

![Health badge](/badges/darkain-php-tracking-urls/health.svg)

```
[![Health](https://phpackages.com/badges/darkain-php-tracking-urls/health.svg)](https://phpackages.com/packages/darkain-php-tracking-urls)
```

###  Alternatives

[laracrafts/laravel-url-shortener

Powerful URL shortening tools in Laravel

97110.7k](/packages/laracrafts-laravel-url-shortener)[ffi/location

PHP library for determining the physical location of binaries

1339.8k7](/packages/ffi-location)

PHPackages © 2026

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