dev-master
9999999-devUnofficial PHP SDK for banggood.com
MIT
The Requires
The Development Requires
by Paul P.
Wallogit.com
2017 © Pedro Peláez
Unofficial PHP SDK for banggood.com
This is an unofficial PHP SDK for Banggood API, (*1)
The official documentation can be found here, (*2)
If you have any issues with the API and not necessarily with the SDK please address to Banggood support team rather than opening a issue here., (*3)
Install the package via composer using :, (*4)
composer require bigpaulie/banggood-php-sdk
Make sure you autoload the annotations before you use the SDK by including the following line of code before instantiating the SDK, (*5)
/**
* Autoload Annotations
* This is used to deserialize a JSON string intro an object
*/
\Doctrine\Common\Annotations\AnnotationRegistry::registerLoader('class_exists');
You can create an instance of BanggoodClient using a builder., (*6)
$credentials = new Credentials('appid', 'appsecret');
$client = (new BanggoodClientBuilder())
->credentials($credentials)
->environment(BanggoodClientFactory::TYPE_PRODUCTION)
->build();
There are many ways you can contribute to the project. If you found a bug please report it as an issue, or create a fork fix the bug and submit a pull-request., (*7)
Please maintain the coding style and testing pattern !, (*8)
Unofficial PHP SDK for banggood.com
MIT