Skip to content

Latest commit

 

History

History
28 lines (24 loc) · 518 Bytes

README.md

File metadata and controls

28 lines (24 loc) · 518 Bytes

Laravel GHN

API GHN


Install with composer.

Install (Laravel)

Install via composer

composer require jacksonit/ghn
php artisan vendor:publish --provider="Jacksonit\GHN\GHNServiceProvider"

Get shipping Fee

Use Jacksonit\GHN\Facades\GHNCharge;
$data = [
    'from_district_id'  => '',
    'to_district_id'    => '',
    'weight'            => '',
    'height'            => '',
    'length'            => '',
    'width'             => '',
]
GHNCharge::shippingFee($data);