PHPackages                             helionogueir/languagepack - 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. helionogueir/languagepack

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

helionogueir/languagepack
=========================

A libraty to manipulate language package

v1.1.0(9y ago)09276MITPHPPHP &gt;=7.0

Since Dec 7Pushed 9y ago1 watchersCompare

[ Source](https://github.com/helionogueir/languagepack)[ Packagist](https://packagist.org/packages/helionogueir/languagepack)[ Docs](https://github.com/helionogueir)[ RSS](/packages/helionogueir-languagepack/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependencies (2)Versions (3)Used By (6)

[Language Pack](https://github.com/helionogueir/languagepack)
=============================================================

[](#language-pack)

A libraty to manipulate language package.

Installation
------------

[](#installation)

Composer () and ()

```
composer require helionogueir/languagepack
```

---

Usage
-----

[](#usage)

### helionogueir\\languagepack\\Lang

[](#helionogueirlanguagepacklang)

Define how to language package to be work

```
use helionogueir\languagepack\Lang;
Lang::configuration("en-US");
Lang::addRoot("helionogueir/languagepack", "./languagepack/core");
echo Lang::get("languagepack:test:get", "helionogueir/languagepack", Array("method" => "Usage"));
```

---

### smarty\_modifier\_languagepack\_lang

[](#smarty_modifier_languagepack_lang)

#### Smarty Modifiers () and ()

[](#smarty-modifiers-httpwwwsmartynetdocsenpluginsmodifierstpl-and-httpwwwsmartynet)

Define how to smarty\_modifier\_languagepack\_lang to be work

```
/* Configuration Smarty */
use Smarty;
$smarty = new Smarty();
$smarty->addPluginsDir("./languagepack/core/modifier");
```

```
/* Template (.tpl) smarty_modifier_languagepack_lang Called  */
{"languagepack:test:get"|languagepack_lang:"helionogueir/languagepack":["method" => "Usage"]}
```

---

TDD (Test Driven Development)
-----------------------------

[](#tdd-test-driven-development)

PHPUnit ()

```
phpunit -c ./languagepack/tests/unit.xml
```

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community14

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

Every ~2 days

Total

2

Last Release

3490d ago

PHP version history (2 changes)v1.0.0PHP &gt;=5.6

v1.1.0PHP &gt;=7.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/424582?v=4)[Helio Nogueira](/maintainers/helionogueir)[@helionogueir](https://github.com/helionogueir)

---

Top Contributors

[![helionogueir](https://avatars.githubusercontent.com/u/424582?v=4)](https://github.com/helionogueir "helionogueir (15 commits)")

---

Tags

languagepackagelibrarytoollanglocatetransalation

### Embed Badge

![Health badge](/badges/helionogueir-languagepack/health.svg)

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

###  Alternatives

[aplus/language

Aplus Framework Language Library

2371.7M15](/packages/aplus-language)[inpsyde/multilingual-press

Simply THE multisite-based free open source plugin for your multilingual websites.

2414.0k1](/packages/inpsyde-multilingual-press)[pmochine/laravel-tongue

🎉 Finally a subdomain localization that works how you want it to work. 🌐

4158.4k](/packages/pmochine-laravel-tongue)[longman/laravel-multilang

Package to integrate multi language (multi locale) functionality in Laravel 5.x

5414.5k1](/packages/longman-laravel-multilang)[leuchtfeuer/locate

Locate - The users country, preferred language and other facts will be detected. Depending on configurable rules the user can be redirected to other languages or pages. Locate also provides geo blocking for configurable pages in configurable countries.

1185.3k](/packages/leuchtfeuer-locate)

PHPackages © 2026

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