ahmetbarut/php-translate-api

v1.0.0 2022-03-12 22:23 UTC

This package is auto-updated.

Last update: 2024-09-13 03:46:18 UTC


README

此包允许您从终端进行翻译。

  composer global require ahmetbarut/php-translate-api

用法

  ~/.composer/vendor/bin/translate tr "Hello"
  # Merhaba

参数

  • tr:语言代码。
  • text:要翻译的文本。
  • en : 源语言代码。