NOTE/UPDATE: After submitting this initiative to Smartling, they have made use of it to make an official composer/guzzle 2.0 SDK which you should check out. https://github.com/Smartling/api-sdk-php/tree/2.0.0, (*1)
Description
This is an optimized and refactored version of the original 1.1 Smartling Api SDK with the following changes/additions:, (*2)
- Converted to a composer project
- PSR2 coding standards
- Decoupled curl connection system as a dependency
- Fixed several bugs/issues
- Upload times improved greatly
- Added simple upload method that uploads arrays directly
- Added ContentBuilder which converts arrays into the expected json format
Original Description
This repository contains the PHP SDK for accessing the Smartling Translation API., (*3)
The Smartling Translation API lets developers internationalize their website or app by automating the translation and integration of their site content.
Developers can upload resource files/content and then download the translated files in a language of their choosing. There are options to allow for professional translation, community translation and machine translation., (*4)
For a full description of the Smartling Translation API, please read the docs at: http://docs.smartling.com, (*5)
Usage
Simply add the following to your composer file and do a composer update:, (*6)
"require": {
...
"daa/smartling-api-sdk": "2.*"
},
For example of usage have a look at the examples folder., (*7)