PHPackages                             smart-dato/brt-tracking - 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. [HTTP &amp; Networking](/categories/http)
4. /
5. smart-dato/brt-tracking

ActiveLibrary[HTTP &amp; Networking](/categories/http)

smart-dato/brt-tracking
=======================

Laravel package for interfacing with the BRT VAS100 tracking SOAP webservices.

0.0.4(6mo ago)0777↓32.2%[3 PRs](https://github.com/smart-dato/brt-tracking/pulls)MITPHPPHP ^8.2CI passing

Since Aug 12Pushed 2mo agoCompare

[ Source](https://github.com/smart-dato/brt-tracking)[ Packagist](https://packagist.org/packages/smart-dato/brt-tracking)[ Docs](https://github.com/smart-dato/brt-tracking)[ GitHub Sponsors](https://github.com/SmartDato)[ RSS](/packages/smart-dato-brt-tracking/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (4)Dependencies (14)Versions (8)Used By (0)

Laravel BRT Tracking
====================

[](#laravel-brt-tracking)

[![Latest Version on Packagist](https://camo.githubusercontent.com/cfb7bfbbe1d37cd2ffa568413850433da0bf172dd72cd810dee13f19a6190819/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f736d6172742d6461746f2f6272742d747261636b696e672e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/smart-dato/brt-tracking)[![GitHub Tests Action Status](https://camo.githubusercontent.com/011d144e0db9ba6d860dcadc5855fefc075249d8251532d183b91eb07be09a29/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f736d6172742d6461746f2f6272742d747261636b696e672f72756e2d74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/smart-dato/brt-tracking/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/36f5fcb00dbd6d7b2edf8906b0c10c2623579738e36dcb8a5f537ededf1d56e3/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f736d6172742d6461746f2f6272742d747261636b696e672f6669782d7068702d636f64652d7374796c652d6973737565732e796d6c3f6272616e63683d6d61696e266c6162656c3d636f64652532307374796c65267374796c653d666c61742d737175617265)](https://github.com/smart-dato/brt-tracking/actions?query=workflow%3A%22Fix+PHP+code+style+issues%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/abe3bd6251477c434e93eabc046a473f10ded52c8f1f1d7b1b5c7202e70cb7f9/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f736d6172742d6461746f2f6272742d747261636b696e672e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/smart-dato/brt-tracking)

This package provides a Laravel-friendly wrapper around the BRT VAS100 tracking SOAP services. It allows you to resolve shipment identifiers based on your own references, fetch full shipment details, and retrieve legends for statuses and events. It also includes utilities for caching and patching the WSDL files to ensure that PHP's SOAP client uses secure HTTPS endpoints.

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

[](#installation)

You can install the package via composer:

```
composer require smart-dato/brt-tracking
```

You can publish the config file with:

```
php artisan vendor:publish --tag="brt-tracking-config"
```

This is the contents of the published config file:

```
return [
];
```

Optionally you may cache the WSDL files to fix the http/https mismatch:

```
php artisan brt:cache-wsdl
```

Usage
-----

[](#usage)

You can resolve the `BrtTrackingClient` from the service container or use the facade provided by this package. All methods return simple arrays or data objects for easy consumption.

```
use SmartDato\BrtTracking\Facades\BrtTracking;

// Look up a shipment id by your numeric reference
$shipmentId = BrtTracking::getShipmentIdByRMN(123456789);

// Fetch detailed shipment information
$shipment = BrtTracking::trackingByShipmentId($shipmentId);

// Retrieve legends for statuses and events
$esiti = BrtTracking::getLegendaEsiti();
$eventi = BrtTracking::getLegendaEventi();
```

See the published configuration file for all available options.

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

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

[](#contributing)

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

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [SmartDato](https://github.com/smart-dato)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

40

—

FairBetter than 88% of packages

Maintenance79

Regular maintenance activity

Popularity18

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity43

Maturing project, gaining track record

 Bus Factor2

2 contributors hold 50%+ of commits

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 ~33 days

Total

4

Last Release

181d ago

PHP version history (2 changes)0.0.1PHP ^8.3

0.0.2PHP ^8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/c3006db55caec62526937fa2d941da32fc5e69e2ca86a52e87c8046da5958d82?d=identicon)[smart-dato](/maintainers/smart-dato)

---

Top Contributors

[![michael-tscholl](https://avatars.githubusercontent.com/u/178569346?v=4)](https://github.com/michael-tscholl "michael-tscholl (6 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (4 commits)")[![tschigo](https://avatars.githubusercontent.com/u/344100?v=4)](https://github.com/tschigo "tschigo (4 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (1 commits)")

---

Tags

laravelsmart-datobrt-trackingbrt-vas100

###  Code Quality

TestsPest

Static AnalysisPHPStan

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/smart-dato-brt-tracking/health.svg)

```
[![Health](https://phpackages.com/badges/smart-dato-brt-tracking/health.svg)](https://phpackages.com/packages/smart-dato-brt-tracking)
```

###  Alternatives

[binaryk/laravel-restify

Laravel REST API helpers

651399.1k](/packages/binaryk-laravel-restify)[sunchayn/nimbus

A Laravel package providing an in-browser API client with automatic schema generation, live validation, and built-in authentication with a touch of Laravel-tailored magic for effortless API testing.

29428.0k](/packages/sunchayn-nimbus)[muhammadhuzaifa/telescope-guzzle-watcher

Telescope Guzzle Watcher provide a custom watcher for intercepting http requests made via guzzlehttp/guzzle php library. The package uses the on\_stats request option for extracting the request/response data. The watcher intercept and log the request into the Laravel Telescope HTTP Client Watcher.

98239.8k1](/packages/muhammadhuzaifa-telescope-guzzle-watcher)[vormkracht10/laravel-mails

Laravel Mails can collect everything you might want to track about the mails that has been sent by your Laravel app.

24149.7k](/packages/vormkracht10-laravel-mails)[pdphilip/cf-request

Cloudflare Laravel Request

2725.6k1](/packages/pdphilip-cf-request)[danestves/laravel-polar

A package to easily integrate your Laravel application with Polar.sh

7812.3k](/packages/danestves-laravel-polar)

PHPackages © 2026

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