lwiesel/delivery-tracking

A framework agnostic delivery tracking library for PHP 5.4+

v0.0.1-alpha 2016-01-16 23:13 UTC

This package is not auto-updated.

Last update: 2024-12-21 20:08:37 UTC


README

Latest Version on Packagist Software License Build Status Coverage Status Quality Score Total Downloads

SensioLabsInsight

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.

Install

Via Composer

$ composer require lwiesel/delivery-tracking

Usage

$chronopostAdapter = new ChronopostAdapter();
$deliveryTracking = new DeliveryTracking($chronopostAdapter);

$status = $deliveryTracking->getDeliveryStatus('tracking-number');

Change log

Please see CHANGELOG for more information what has changed recently.

Testing

$ composer test

Contributing

Please see CONTRIBUTING and CONDUCT for details.

Security

If you discover any security related issues, please email wiesel.laurent@gmail.com instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.