2017 © Pedro Peláez
 

library postrack

Malaysian courier tracker library

image

k4ml/postrack

Malaysian courier tracker library

  • Tuesday, September 5, 2017
  • by k4ml
  • Repository
  • 4 Watchers
  • 2 Stars
  • 7 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 3 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Quickstart

Add the following to composer.json in your project:-, (*1)

"require": {
    "k4ml/postrack": "@dev"
},

Run composer update., (*2)

To test the included command line client:-, (*3)

php vendor/bin/tracker.php check <parcelNo>

Output should look like:-, (*4)

, (*5)

To use the library in your application:-, (*6)

<?
use k4ml\postrack\Parcel;
$parcel = new Parcel('EM61871881MY');
print_r($parcel->check());
?>

To run the tests (configured in phpunit.xml):-, (*7)

vendor/bin/phpunit

Todos

A lot can be done. Among others:-, (*8)

  • Plugin mechanism so we can add other courier as well.
  • Add tests !

The Versions

05/09 2017

dev-test-drone

dev-test-drone

Malaysian courier tracker library

  Sources   Download

ISC

The Requires

 

The Development Requires

by Kamal Mustafa

07/01 2016

dev-master

9999999-dev

Malaysian courier tracker library

  Sources   Download

ISC

The Requires

 

The Development Requires

by Kamal Mustafa