friendsofapi / phraseapp
A community API client for phraseapp.com translation service
Installs: 6 597
Dependents: 1
Suggesters: 0
Security: 0
Stars: 4
Watchers: 4
Forks: 4
Open Issues: 0
Requires
- php: ^7.0
- php-http/client-common: ^1.1
- php-http/discovery: ^1.0
- php-http/httplug: ^1.0
- php-http/multipart-stream-builder: ^1.0
Requires (Dev)
- guzzlehttp/psr7: ^1.3
- nyholm/nsa: ^1.0
- php-http/curl-client: ^1.6
- php-http/message: ^1.0
- php-http/message-factory: ^1.0
- phpunit/phpunit: ^5.7
README
A community client for PhraseApp.
Install
Via Composer
$ composer require friendsofapi/phraseapp
Usage
$apiClient = new PhraseAppClient(); $response = $apiClient->import()->import($projectId, 'symfony_xliff', $fileName, [ 'locale_id' => $localeId, 'tags' => $domain, ]); $response = $this->client->export()->locale($projectId, $localeId, 'symfony_xliff', [ 'tag' => $domain ]);
License
The MIT License (MIT). Please see License File for more information.
Contribute
Do you want to make a change? Pull requests are welcome.