lwiesel / delivery-tracking
A framework agnostic delivery tracking library for PHP 5.4+
Installs: 1 025
Dependents: 0
Suggesters: 0
Security: 0
Stars: 4
Watchers: 2
Forks: 3
Open Issues: 0
Requires
- php: >=5.4.0
Requires (Dev)
- henrikbjorn/phpspec-code-coverage: ~1.0
- league/climate: ^3.2
- m6web/coke: ^2.1
- phpspec/phpspec: ^2.4
- scrutinizer/ocular: ~1.1
This package is not auto-updated.
Last update: 2024-11-09 19:34:37 UTC
README
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.