api-php / localise.biz
1.1.0
2021-03-26 18:43 UTC
Requires
- php: >=7.2
- php-http/client-common: ^1.9 || ^2.0
- php-http/discovery: ^1.0
- php-http/httplug: ^1.0 || ^2.0
- php-http/multipart-stream-builder: ^1.0
Requires (Dev)
- guzzlehttp/psr7: ^1.3
- nyholm/nsa: ^1.0
- php-http/guzzle7-adapter: ^1.0
- php-http/message: ^1.0
- php-http/message-factory: ^1.0
- phpunit/phpunit: ^8.5
README
Loco (Localise.biz) 的社区客户端。官方 API 客户端可以在 此处 找到。
安装
通过 Composer
$ composer require friendsofapi/localise.biz
使用方法
$apiClient = new LocoClient(); $response = $apiClient->translations()->show('project_key', 'hello_world', 'sv'); echo $response->getTranslation(); // "Hej världen"
许可证
MIT 许可证 (MIT)。请参阅 许可证文件 获取更多信息。