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.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package giaohangnhanh-laravel

GiaoHangNhanh (GHN) SDK for Laravel Framework

Latest Version on Packagist GitHub Code Style Action Status Total Downloads

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

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

PHP Build Version
Package Version
Requires cerbero/laravel-enum Version ^1.3
guzzlehttp/guzzle Version ^7.9
illuminate/contracts Version ^10.0||^11.0
php Version ^8.2
spatie/laravel-package-tools Version ^1.16
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package tringuyenduc2903/giaohangnhanh-laravel contains the following files

Loading the files please wait ....