From a482033a77c5f063bebf4c8ec5fff44f518423c6 Mon Sep 17 00:00:00 2001
From: IRFA <49023326+irfaardy@users.noreply.github.com>
Date: Fri, 21 Feb 2020 23:23:10 +0700
Subject: [PATCH] Update README.md
---
README.md | 21 +++++++++++----------
1 file changed, 11 insertions(+), 10 deletions(-)
diff --git a/README.md b/README.md
index 621a18f..aeecddb 100644
--- a/README.md
+++ b/README.md
@@ -70,19 +70,20 @@ Open .env file add
Migrating table city and provinsi
php artisan migrate
-**Caching Province and City**
+
Caching Province and City
Open console/cmd and run
php artisan raja-ongkir:cache
-**Caching City**
+
+Caching City
Open console/cmd and run
php artisan raja-ongkir:city-cache
-**Caching Province**
+Caching Province
Open console/cmd and run
php artisan raja-ongkir:prov-cache
-**Clear Cache**
+Clear Cache
Open console/cmd and run
php artisan raja-ongkir:clear
@@ -91,7 +92,7 @@ Open console/cmd and run
use RajaOngkir;
- **Retrieve all province**
+Retrieve all province
$get = RajaOngkir::getProvince();
foreach($get as $prov):
@@ -101,7 +102,7 @@ Open console/cmd and run
endforeach;
-**Search province**
+Search province
@@ -111,7 +112,7 @@ Open console/cmd and run
echo $get->province."
";// value = Bali
-**Retrieve all City**
+Retrieve all City
$get = RajaOngkir::getCity();
foreach($get as $city):
@@ -125,7 +126,7 @@ Open console/cmd and run
endforeach;
-**Retrieve all city in province**
+Retrieve all city in province
$get = RajaOngkir::find(['province_id' => 1])->getCity();
@@ -139,7 +140,7 @@ Open console/cmd and run
echo $city->postal_code."
"; // value = 80351
endforeach;
- **Retrieve courier**
+ Retrieve courier
$get = RajaOngkir::find(['origin'=>1,
@@ -155,7 +156,7 @@ Open console/cmd and run
endforeach;
-**Retrieve cost courier**
+Retrieve cost courier
$params = ['origin'=>1,'destination'=>2,'weight'=>1000,'courier' => 'jne'