Download the PHP package jonasyeah/translator without Composer
On this page you can find all versions of the php package jonasyeah/translator. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package translator
Translator
该翻译库整合了有道和百度的翻译
特点
- 支持有道和百度基于api的通用翻译接口
- 通过破解有道与百度翻译页面接口, 可以免注册直接使用(由于抓取的数据格式可能会被调整, 如果要在正式环境使用, 最好去服务商平台注册使用api)
- 统一调用与数据返回
环境需求
- PHP >= 5.6
安装
使用
关于成功时返回值
失败时的返回值
异常
- 网关数据异常 GatewayErrorException.php
- 网关请求异常 HttpErrorException.php
- 无效网关异常 InvalidGatewayException.php
代码贡献
由于测试及使用环境的限制,本项目中只开发了「有道」和「百度」平台的翻译。
如果您有其它支付网关的需求,或者发现本项目中需要改进的代码,欢迎 Fork 并提交 PR!
LICENSE
MIT
All versions of translator with dependencies
PHP Build Version
Package Version
The package jonasyeah/translator contains the following files
Loading the files please wait ....