PHPackages                             parceltrap/parceltrap - 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. parceltrap/parceltrap

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

parceltrap/parceltrap
=====================

A driver-based parcel tracking library for PHP

v1.6.0(4mo ago)01.6k6MITPHPPHP ^8.4CI passing

Since Oct 5Pushed 4mo ago1 watchersCompare

[ Source](https://github.com/parceltrap/parceltrap)[ Packagist](https://packagist.org/packages/parceltrap/parceltrap)[ Fund](https://ecologi.com/owenvoke?gift-trees)[ GitHub Sponsors](https://github.com/owenvoke)[ RSS](/packages/parceltrap-parceltrap/feed)WikiDiscussions main Synced 1w ago

READMEChangelog (2)Dependencies (22)Versions (10)Used By (6)

ParcelTrap
==========

[](#parceltrap)

[![Latest Version on Packagist](https://camo.githubusercontent.com/751979887db2e6871c7a565fe6cb2fd004fcf4907673544d8c873159a2b447df/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f70617263656c747261702f70617263656c747261702e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/parceltrap/parceltrap)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/ad8768e628afbb1f1d0b9f358fcc8bfa8c617779b201880aa69174f57e550cfb/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f70617263656c747261702f70617263656c747261702f74657374732e796d6c3f6272616e63683d6d61696e267374796c653d666c61742d737175617265266c6162656c3d5465737473)](https://github.com/parceltrap/parceltrap/actions)[![Static Analysis](https://camo.githubusercontent.com/25fe7d6b29d077d8a0684a427f012137b823b089ab142df4278b9aff10e9d48a/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f70617263656c747261702f70617263656c747261702f7374617469632e796d6c3f6272616e63683d6d61696e267374796c653d666c61742d737175617265266c6162656c3d537461746963253230416e616c79736973)](https://github.com/parceltrap/parceltrap/actions/workflows/static.yml)[![Total Downloads](https://camo.githubusercontent.com/b724a290c71429e9a16acef705221030118c388090a1c17669e3f8f98c6301e4/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f70617263656c747261702f70617263656c747261702e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/parceltrap/parceltrap)[![Buy us a tree](https://camo.githubusercontent.com/910e097fe46a40add8f3484705ecbc26dc047df84b2fef027405f47408023d76/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f54726565776172652d2546302539462538432542332d6c69676874677265656e3f7374796c653d666c61742d737175617265)](https://ecologi.com/owenvoke?gift-trees)

A driver-based parcel tracking library for PHP

Install
-------

[](#install)

Via Composer

```
composer require parceltrap/parceltrap
```

Usage
-----

[](#usage)

You will need to configure a default driver, along with your ParcelTrap drivers in the [`config/parceltrap.php` file](./config/parceltrap.php).

```
use ParcelTrap\ParcelTrap;

/** @var ParcelTrap $parcelTrap */
$parcelTrap = $this->app->make(ParcelTrap::class);

// Add additional drivers
$parcelTrap->extend('my_driver', function () {
    return new MyDriver();
});

// Retrieve a specific driver
$parcelTrap->driver('name');

// Call `find()` on a driver
$parcelTrap->driver('name')->find('abcdefg');

// Call `find()` on the default driver
$parcelTrap->find('abcdefg');
```

**Using the Facade**

```
use ParcelTrap\Facades\ParcelTrap;

// Using the default driver with the facade
ParcelTrap::find('ABCDEFG12345');

// Using a specific driver with the facade
ParcelTrap::driver('royal_mail')->find('ABCDEFG12345');
```

Change log
----------

[](#change-log)

Please see [GitHub Releases](https://github.com/parceltrap/parceltrap/releases) for more information on what has changed recently.

Testing
-------

[](#testing)

```
composer test
```

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](.github/CONTRIBUTING.md) for details.

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Owen Voke](https://github.com/owenvoke)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

Treeware
--------

[](#treeware)

You're free to use this package, but if it makes it to your production environment you are required to buy the world a tree.

It’s now common knowledge that one of the best tools to tackle the climate crisis and keep our temperatures from rising above 1.5C is to plant trees. If you support this package and contribute to the Treeware forest you’ll be creating employment for local families and restoring wildlife habitats.

You can buy trees [here](https://ecologi.com/owenvoke?gift-trees).

Read more about Treeware at [treeware.earth](https://treeware.earth).

###  Health Score

47

—

FairBetter than 93% of packages

Maintenance75

Regular maintenance activity

Popularity15

Limited adoption so far

Community18

Small or concentrated contributor base

Maturity71

Established project with proven stability

 Bus Factor1

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

Every ~181 days

Recently: every ~316 days

Total

8

Last Release

138d ago

PHP version history (3 changes)v1.0.0PHP ^8.1

v1.4.0PHP ^8.2

v1.5.0PHP ^8.4

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1899334?v=4)[Owen Voke](/maintainers/owenvoke)[@owenvoke](https://github.com/owenvoke)

---

Top Contributors

[![owenvoke](https://avatars.githubusercontent.com/u/1899334?v=4)](https://github.com/owenvoke "owenvoke (69 commits)")[![bradietilley](https://avatars.githubusercontent.com/u/44430471?v=4)](https://github.com/bradietilley "bradietilley (12 commits)")

---

Tags

hacktoberfestparceltrap

###  Code Quality

TestsPest

Static AnalysisPHPStan

Code StyleLaravel Pint

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[nativephp/mobile

NativePHP for Mobile

1.1k102.1k144](/packages/nativephp-mobile)[spatie/laravel-health

Monitor the health of a Laravel application

88212.7M188](/packages/spatie-laravel-health)[simplestats-io/laravel-client

Server-side analytics for Laravel that follows the full funnel from visit to registration to payment, attributed to the channel that drove it. Revenue, MRR, churn and ad-spend profit (ROAS/CAC) per channel. GDPR compliant, ad-blocker proof.

5226.7k](/packages/simplestats-io-laravel-client)[defstudio/telegraph

A laravel facade to interact with Telegram Bots

818355.4k3](/packages/defstudio-telegraph)[spatie/laravel-export

Create a static site bundle from a Laravel app

679153.2k7](/packages/spatie-laravel-export)[harris21/laravel-fuse

Circuit breaker for Laravel queue jobs. Protect your workers from cascading failures.

46273.9k](/packages/harris21-laravel-fuse)

PHPackages © 2026

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