daa / smartling-api-sdk
Composer based Smartling API SDK
Requires
- php: >=5.3.3
- ext-curl: *
- daa/restful-curl-php-wrapper: 1.*
Requires (Dev)
- phpunit/phpunit: 4.3.*
This package is not auto-updated.
Last update: 2024-11-09 17:24:48 UTC
README
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
Description
This is an optimized and refactored version of the original 1.1 Smartling Api SDK with the following changes/additions:
- 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.
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.
For a full description of the Smartling Translation API, please read the docs at: http://docs.smartling.com
Usage
Simply add the following to your composer file and do a composer update:
"require": {
...
"daa/smartling-api-sdk": "2.*"
},
For example of usage have a look at the examples folder.