PHPackages                             reaway/think-lang - 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. reaway/think-lang

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

reaway/think-lang
=================

think lang

v8.1.1(1y ago)011Apache-2.0PHPPHP &gt;=8.0

Since Jan 6Pushed 1y ago1 watchersCompare

[ Source](https://github.com/reaway/think-lang)[ Packagist](https://packagist.org/packages/reaway/think-lang)[ Docs](https://github.com/reaway/think-lang)[ RSS](/packages/reaway-think-lang/feed)WikiDiscussions 8.1 Synced today

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

think-lang
==========

[](#think-lang)

安装
--

[](#安装)

```
composer require reaway/think-lang
```

用法
--

[](#用法)

```
use Think\Component\Lang\Facade\Lang;

require __DIR__ . DIRECTORY_SEPARATOR . 'vendor' . DIRECTORY_SEPARATOR . 'autoload.php';

// load
Lang::load(__DIR__ . DIRECTORY_SEPARATOR . 'zh-cn.php');

Lang::get('name');
```

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance38

Infrequent updates — may be unmaintained

Popularity1

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity43

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

Every ~0 days

Total

2

Last Release

543d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/d342ebe348631bdfbe41ebcd414f0b5fa2334027d413e3543afb301f3503a13f?d=identicon)[reaway](/maintainers/reaway)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/reaway-think-lang/health.svg)

```
[![Health](https://phpackages.com/badges/reaway-think-lang/health.svg)](https://phpackages.com/packages/reaway-think-lang)
```

###  Alternatives

[smmoosavi/php-gettext

Wrapper for php-gettext by danilo segan. This library provides PHP functions to read MO files even when gettext is not compiled in or when appropriate locale is not present on the system.

1927.0k1](/packages/smmoosavi-php-gettext)

PHPackages © 2026

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