PHPackages                             uocnv/text-translate - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. uocnv/text-translate

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

uocnv/text-translate
====================

translate text with google translate

01PHP

Since Sep 11Pushed 5y ago1 watchersCompare

[ Source](https://github.com/NguyenUoc98/text-translate)[ Packagist](https://packagist.org/packages/uocnv/text-translate)[ RSS](/packages/uocnv-text-translate/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependenciesVersions (1)Used By (0)

T-Translate
===========

[](#t-translate)

Package sử dụng curl tạo request đến  để dịch và lấy về kết quả.

Created by: Nguyễn Văn Ước

[![](https://camo.githubusercontent.com/8825da0fce50885a60f1f69bfa46169ada5173c070858f2db0cada383a08ea1e/68747470733a2f2f7265732e636c6f7564696e6172792e636f6d2f6e677579656e756f632f696d6167652f75706c6f61642f76313539393739373630332f742d7472616e736c6174652e706e67)](https://camo.githubusercontent.com/8825da0fce50885a60f1f69bfa46169ada5173c070858f2db0cada383a08ea1e/68747470733a2f2f7265732e636c6f7564696e6172792e636f6d2f6e677579656e756f632f696d6167652f75706c6f61642f76313539393739373630332f742d7472616e736c6174652e706e67)

Cài đặt
-------

[](#cài-đặt)

composer require uocnv/text-translate

- Đường dẫn: {yourdomain}/text-translate/translate
- Config:

php artisan vendor:publish --provider="Uocnv\\TextTranslate\\TextTranslateServiceProvider" --tag="config"

"translate\_target" =&gt; "vi" - là ngôn ngữ muốn dịch sang.

Cách sử dụng
------------

[](#cách-sử-dụng)

use Uocnv\\TextTranslate\\TextTranslate;

$gt = new TextTranslate();

echo $gt-&gt;translate($text, $to, $from='', $cache = false);

###  Health Score

16

—

LowBetter than 4% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity1

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity32

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/480a0f4dde868ba2a563f89ac15e25d9fd1640e9c04360d39cf7eabe51aba74f?d=identicon)[uocnv](/maintainers/uocnv)

---

Top Contributors

[![NguyenUoc98](https://avatars.githubusercontent.com/u/43318488?v=4)](https://github.com/NguyenUoc98 "NguyenUoc98 (2 commits)")

### Embed Badge

![Health badge](/badges/uocnv-text-translate/health.svg)

```
[![Health](https://phpackages.com/badges/uocnv-text-translate/health.svg)](https://phpackages.com/packages/uocnv-text-translate)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
