PHPackages                             fx/translation - 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. [Localization &amp; i18n](/categories/localization)
4. /
5. fx/translation

ActiveLibrary[Localization &amp; i18n](/categories/localization)

fx/translation
==============

translation

v1.0.0(6y ago)315221MITPHP

Since Jun 10Pushed 6y agoCompare

[ Source](https://github.com/nfangxu/package-fx-translation)[ Packagist](https://packagist.org/packages/fx/translation)[ RSS](/packages/fx-translation/feed)WikiDiscussions master Synced 4d ago

READMEChangelog (1)Dependencies (2)Versions (2)Used By (1)

fx/translation
--------------

[](#fxtranslation)

### Installation

[](#installation)

- use composer

```
composer require fx/translation
```

### Usage

[](#usage)

- Publish config file

```
php artisan vendor:publish --provider="Fx\\Translation\\Providers\\FxTranslationServiceProvider"
```

- anywhere, eg:

```
// routes/web.php
use Fx\Translation\Contacts\Translate;

Route::get('/', function (Translate $translate) {
    dd($translate->trans("You look so good", "zh"));
});
```

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

2532d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/48e745eaab94e5e8f347aadc5b74046bb174895188f0507b1d46c0fa6cee6555?d=identicon)[nfangxu](/maintainers/nfangxu)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/fx-translation/health.svg)

```
[![Health](https://phpackages.com/badges/fx-translation/health.svg)](https://phpackages.com/packages/fx-translation)
```

###  Alternatives

[vemcogroup/laravel-translation

Translation package for Laravel to scan for localisations and up/download to poeditor

135304.0k2](/packages/vemcogroup-laravel-translation)[stevebauman/translation

An easy automatic database driven translator for Laravel 5

7620.1k](/packages/stevebauman-translation)[mage-os/module-automatic-translation

Automatic AI content translation for Mage-OS.

277.1k](/packages/mage-os-module-automatic-translation)[acclaro/translations

Easily launch and manage multilingual Craft websites without having to copy/paste content or manually track updates.

1229.5k](/packages/acclaro-translations)

PHPackages © 2026

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