friendsofapi / phraseapp
phraseapp.com翻译服务的社区API客户端
v0.3.1
2017-05-21 18:53 UTC
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
PhraseApp的社区客户端PhraseApp。
安装
通过Composer
$ composer require friendsofapi/phraseapp
用法
$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 ]);
许可证
MIT许可证(MIT)。有关更多信息,请参阅许可证文件。
贡献
你想做出改变吗?我们欢迎Pull requests。