From 38b05cc1735bce3ed6c91a7d0cd97b70041556b6 Mon Sep 17 00:00:00 2001 From: Hafiq Date: Thu, 3 May 2018 10:13:54 +0800 Subject: [PATCH] update readme --- README.md | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 23f9a2b..88107bb 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,11 @@ Simple Parcel Tracker Packagist for Local Parcel Courier. Basically it just craw Pftt.. I just dont know why, the Travis CI is failed. It because of `gnutls_handshake() failed`. In my local env, all test passed =) -* Currently just only POSTLAJU, GDEX, ABXExpress +* Currently available +1. [Post Laju](https://www.poslaju.com.my/) +2. [GDEX](http://www.gdexpress.com/malaysia/home/) +3. [ABX Express](http://www.abxexpress.com.my/) +4. [DHL Express](https://www.logistics.dhl/my-en/home.html) Tested in PHP 7.1 @@ -57,9 +61,17 @@ $data = parcel_track() ->fetch(); ``` +#### Sample for DHL Express +```php +$data = parcel_track() + ->dhlExpress() + ->setTrackingNumber("5176011131") + ->fetch(); +``` + ### Method - +
@@ -75,6 +87,11 @@ $data = parcel_track() + + + + +
Method Param Post Laju Courier
dhlExpress()Post Laju Courier
gdex()