Download the PHP package tringuyenduc2903/giaohangnhanh-laravel without Composer
On this page you can find all versions of the php package tringuyenduc2903/giaohangnhanh-laravel. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download tringuyenduc2903/giaohangnhanh-laravel
More information about tringuyenduc2903/giaohangnhanh-laravel
Files in tringuyenduc2903/giaohangnhanh-laravel
Package giaohangnhanh-laravel
Short Description GiaoHangNhanh (GHN) SDK for Laravel Framework
License MIT
Homepage https://github.com/tringuyenduc2903/giaohangnhanh-laravel
Informations about the package giaohangnhanh-laravel
GiaoHangNhanh (GHN) SDK for Laravel Framework
Installation
You can install the package via composer:
You can publish the config file with:
This is the contents of the published config file:
Usage
1 Get Province
Get GHN ward/province data. This API provides province to create shipping order
Syntax
Result
2 Get District
Get GHN district/province data. This data is used to reference the District ID to create shipping order
Syntax
Example
Result
3 Get Ward
Get GHN ward/province data. This API provides Ward Code to create shipping order
Syntax
Example
Result
4 Calculate Fee
This API can help Shop/Merchant get the shipping fee and provide to buyer before create shipping order by input some information such as weight, height, length, width, to_district_id, to_ward_code, service_id
Syntax
Example
Result
5 Fee of Order Info
This API help you get all fee of a order
Syntax
Example
Result
6 Get Service
Use to get list of available services from district pick up items and to district drop off items (Full information)
Syntax
Example
Result
7 Preview Order
Helps preview order information without creating an order
Syntax
Example
Result
8 Create Order
Automatic send order information such as weight, address, phone number and many more to GHN system. We will process these information and start the shipment
Syntax
Example
Result
9 Update Order
Update information of created order. Only available when shipping status
Syntax
Example
Result
10 Update COD of Order
Update value for COD
Syntax
Example
Result
11 Order Info
This API help you get all information of a order. You can know current status or the reason which make the shipment failed
Syntax
Example
Result
12 Order Info by Client_Order_Code
This API help you get all information of a order. You can know current status or the reason which make the shipment failed
Syntax
Example
Result
13 Return Order
The purpose of changing the status of an order to delivery is only applicable where the current status of the order is: storage or waiting for delivery
Syntax
Example
Result
14 Delivery Again
- Orders that have been repeatedly delivered are unsuccessful, will go into waiting for delivery (waiting time for delivery depends on each customer's contract, the default is 24h)
- During this period, customer can request delivery of the order again, order status after delivery request will become "storage"
Syntax
Example
Result
15 Print Order
Syntax
Example
Result
16 Cancel Order
Cancel a shipping order from GHN
Syntax
Example
Result
17 Get Station
Get GHN Station data. This API provides station_id to create shipping order
Syntax
Example
Result
18 Calculate the expected delivery time
Accurate time will be delivered to guests
Syntax
Example
Result
19 Pick Shift
Automatic Get Pick shift in order
Syntax
Result
20 Create Store
Use to create new Store. Each account can have many Store and each Store is a place to help GHN know where to pick up items
Syntax
Example
Result
21 Get Store
Get the current Store of logged in client. One client can have many pick up addresses. Each address is a Store
Syntax
Example
Result
22 Create Ticket
Create Ticket then need support your order
Syntax
Example
Result
23 Create Feedback of Ticket
Reply Feedback of Ticket
Syntax
Example
Result
24 Get Ticket List
Get all ticket to created
Syntax
Example
Result
25 Get Ticket
Get all ticket to created
Syntax
Example
Result
26 Get Tracking Url
Syntax
Example
Result
27 Fail Code - Reason new
Syntax
Result
28 List Of Shipping Status
Syntax
Result
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
License
The MIT License (MIT). Please see License File for more information.
All versions of giaohangnhanh-laravel with dependencies
guzzlehttp/guzzle Version ^7.9
illuminate/contracts Version ^10.0||^11.0
php Version ^8.2
spatie/laravel-package-tools Version ^1.16