This is a framework agnostic delivery tracking library for PHP 5.4+. It uses the Adapter design pattern to provide a unified api over delivery services, and a common list of delivery statuses. This library respects PSR-1, PSR-2, and PSR-4.
Via Composer
$ composer require cospirit/delivery-tracking
$chronopostAdapter = new ChronopostAdapter();
$deliveryTracking = new DeliveryTracking($chronopostAdapter);
$status = $deliveryTracking->getDeliveryStatus('tracking-number');
Please see CHANGELOG for more information what has changed recently.
$ composer test
Please see CONTRIBUTING and CONDUCT for details.
If you discover any security related issues, please use the issue tracker.
The MIT License (MIT). Please see License File for more information.