The commercetools PHP SDK
About the PHP SDK
The PHP SDK enables the developer to use methods and objects to communicate with the commercetools platform rather than using plain HTTP calls and untyped data. Users gain IDE auto completion for building valid requests.
The SDK is licensed under the permissive MIT License. In order to use the SDK you need to have at least PHP 5.6 installed.
Link list to PHP SDK resources:
The API client can be configured to log detailed information of each request to any PSR-3 compatible logging provider.
The correlation id of each request sent by the API gets extracted and logged as context information. Information about API deprecation is logged with severity “warning”.
The SDK uses the guzzle HTTP client for executing requests which opens the possibility of executing requests in batches as well as asynchronously.
The SDK provides convenient formatting of currencies using the PHP intl extension. For localization of a project, fallback rules for localization can be configured.