sboden/translator
最新稳定版本:1.2
Composer 安装命令:
composer require sboden/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"
统计信息
- 总下载量: 10
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-04-30