Skip to content

Commit fa36dc2

Browse files
authored
Update README.md
1 parent 6526f3c commit fa36dc2

File tree

1 file changed

+9
-13
lines changed

1 file changed

+9
-13
lines changed

README.md

Lines changed: 9 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
2-
3-
4-
51
# Raja Ongkir Laravel Package
62
[![License](https://poser.pugx.org/irfa/raja-ongkir/license?format=flat)](https://packagist.org/packages/irfa/raja-ongkir)
73
<h3>Installation with Composer</h3>
@@ -13,7 +9,7 @@
139
***
1410

1511

16-
<h3>PHP Native Setup</h3>
12+
<h2>PHP Native Setup</h2>
1713

1814

1915
<?php
@@ -37,7 +33,7 @@
3733
3834

3935
***
40-
<h3> Laravel Setup </h3>
36+
<h2> Laravel Setup </h2>
4137

4238
<h3>Add to config/app.php</h3>
4339

@@ -56,7 +52,7 @@
5652

5753
],
5854

59-
<h3>Publish Vendor</h3>
55+
<h2>Publish Vendor</h2>
6056

6157

6258
php artisan vendor:publish --tag=raja-ongkir
@@ -67,7 +63,7 @@ Open .env file add
6763
RAJAONGKIR_ACCOUNT_TYPE = starter
6864
RAJAONGKIR_API_KEY = your-api-key
6965
***
70-
<h3>Caching</h3>
66+
<h2>Caching</h2>
7167

7268
> Caching is useful for loading city and province faster.
7369
@@ -95,7 +91,7 @@ Open console/cmd and run
9591

9692
use RajaOngkir;
9793

98-
**Get all province**
94+
**Retrieve all province**
9995

10096
$get = RajaOngkir::getProvince();
10197
foreach($get as $prov):
@@ -115,7 +111,7 @@ Open console/cmd and run
115111
echo $get->province."<br>";// value = Bali
116112

117113

118-
**Get all City**
114+
**Retrieve all City**
119115

120116
$get = RajaOngkir::getCity();
121117
foreach($get as $city):
@@ -129,7 +125,7 @@ Open console/cmd and run
129125
130126
endforeach;
131127

132-
**Get all City in province**
128+
**Retrieve all city in province**
133129

134130

135131
$get = RajaOngkir::find(['province_id' => 1])->getCity();
@@ -143,7 +139,7 @@ Open console/cmd and run
143139
echo $city->postal_code."<br>"; // value = 80351
144140
145141
endforeach;
146-
**Get courier**
142+
**Retrieve courier**
147143

148144

149145
$get = RajaOngkir::find(['origin'=>1,
@@ -159,7 +155,7 @@ Open console/cmd and run
159155
160156
endforeach;
161157
162-
**Example cost Courier**
158+
**Retrieve cost courier**
163159

164160

165161
$params = ['origin'=>1,'destination'=>2,'weight'=>1000,'courier' => 'jne'

0 commit comments

Comments
 (0)