dev-test-drone
dev-test-droneMalaysian courier tracker library
ISC
The Requires
The Development Requires
by Kamal Mustafa
dev-master
9999999-devMalaysian courier tracker library
ISC
The Requires
The Development Requires
by Kamal Mustafa
Wallogit.com
2017 © Pedro Peláez
Malaysian courier tracker library
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)
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
A lot can be done. Among others:-, (*8)
Malaysian courier tracker library
ISC
Malaysian courier tracker library
ISC