Download the PHP package vanthao03596/ghtk-sdk without Composer
On this page you can find all versions of the php package vanthao03596/ghtk-sdk. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download vanthao03596/ghtk-sdk
More information about vanthao03596/ghtk-sdk
Files in vanthao03596/ghtk-sdk
Package ghtk-sdk
Short Description A simple PHP GHTK API client, Object Oriented, tested and documented.
License MIT
Homepage https://github.com/vanthao03596/ghtk-sdk
Informations about the package ghtk-sdk
PHP GHTK SDK
Requirements
- PHP >= 7.2
- A PSR-17 implementation
- A PSR-18 implementation
Quick install
Via Composer.
This command will get you up and running quickly with a Guzzle HTTP client.
Advanced install
We are decoupled from any HTTP messaging client with help by HTTPlug.
Using a different http client
To set up the GHTK client with this HTTP client
Basic usage of php-ghtk-api
client
From $client
object, you have access to all available GHTK api endpoints.
Create Order
Calculate shipment fee
Check order status
Cancel order
Print label
Get list pick address
Get address level 4
Get product info
Check XFAST service
B2C - Create account
B2C - Get shop token
B2C - Use Shop Token
Testing
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
- phamthao
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of ghtk-sdk with dependencies
ext-json Version *
php-http/cache-plugin Version ^1.7.1
php-http/client-common Version ^2.3
php-http/discovery Version ^1.12
php-http/httplug Version ^2.2
psr/cache Version ^1.0
psr/http-client-implementation Version ^1.0
psr/http-factory-implementation Version ^1.0
psr/http-message Version ^1.0
symfony/options-resolver Version ^5.3
symfony/polyfill-php80 Version ^1.17