jacksonit/shipping

Shipping Việt Nam Laravel

Installs: 30

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 1

Forks: 1

Open Issues: 0

pkg:composer/jacksonit/shipping

1.0.1 2020-09-22 09:56 UTC

This package is auto-updated.

Last update: 2025-10-22 21:13:34 UTC


README

API Shipping (Giao hàng nhanh, ...)

Install with composer.

Install (Laravel)

Install via composer

composer require jacksonit/shipping
php artisan vendor:publish --provider="Jacksonit\Shipping\ShippingServiceProvider"

Get shipping Fee GHN

Use Jacksonit\Shipping\GHN;

$data = [
    'from_district_id'  => '',
    'from_ward_code'    => '',
    'to_district_id'    => '',
    'to_ward_code'      => '',
    'weight'            => '',
    'height'            => '',
    'length'            => '',
    'width'             => '',
    'coupon'            => ''
]
$ghn = new GHN();
$record_ghn = $ghn->shippingFee($data);