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(7y ago)315221MITPHP

Since Jun 10Pushed 7y agoCompare

[ Source](https://github.com/nfangxu/package-fx-translation)[ Packagist](https://packagist.org/packages/fx/translation)[ RSS](/packages/fx-translation/feed)WikiDiscussions master Synced 2w 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 57% 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

2578d 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

[aws/aws-sdk-php

AWS SDK for PHP - Use Amazon Web Services in your PHP project

6.3k543.5M2.5k](/packages/aws-aws-sdk-php)[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k656.1k36](/packages/neuron-core-neuron-ai)[craftcms/cms

Craft CMS

3.6k3.6M3.0k](/packages/craftcms-cms)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3741.3M46](/packages/tencentcloud-tencentcloud-sdk-php)[tempest/framework

The PHP framework that gets out of your way.

2.2k34.4k13](/packages/tempest-framework)[files.com/files-php-sdk

Files.com PHP SDK

2481.1k](/packages/filescom-files-php-sdk)

PHPackages © 2026

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