Download the PHP package her-cat/baidu-translator without Composer
On this page you can find all versions of the php package her-cat/baidu-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 baidu-translator
baidu-translator
百度翻译 SDK.
安装
配置
使用本扩展前,你需要去 百度翻译开放平台 注册账号,然后获取应用的 APP ID
和 密钥
。
使用
翻译:
返回示例:
在 Laravel 中使用
在 Laravel 中使用也是同样的安装方式,配置写在 config/translator.php 中:
然后在 .env 中配置 :
可以用两种方式来获取 HerCat\BaiduTranslator\BaiduTranslator
实例:
方法参数注入
服务名访问
参考
License
MIT
All versions of baidu-translator with dependencies
PHP Build Version
Package Version
Requires
guzzlehttp/guzzle Version
^6.3
The package her-cat/baidu-translator contains the following files
Loading the files please wait ....