php-translation/translator
最新稳定版本:1.2.0
Composer 安装命令:
composer require php-translation/translator
包简介
Translator services
README 文档
README
Services that can be used to translate strings
Install
The first thing you need to do is to install a HTTP client. Please read HTTPlug quickstart. When the client is installed you may install this package with composer by running:
composer require php-translation/translator
Intro
$translator = new Translator(); $translator->addTranslatorService(new GoogleTranslator('api_key')); echo $translator->translate('apple', 'en', 'sv'); // "äpple"
统计信息
- 总下载量: 221.5k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 25
- 点击次数: 1
- 依赖项目数: 4
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2016-12-03