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 lwiesel/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 email wiesel.laurent@gmail.com instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.