PHPackages                             opencode506/yii2-i18njs - 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. opencode506/yii2-i18njs

ActiveYii2-extension[Localization &amp; i18n](/categories/localization)

opencode506/yii2-i18njs
=======================

Yii2 i18n Javascript Extension. Support for translations from javascript using the native i18n component of Yii2.

05PHP

Since Jan 7Pushed 7y agoCompare

[ Source](https://github.com/Yii2cr/yii3-i18njs)[ Packagist](https://packagist.org/packages/opencode506/yii2-i18njs)[ RSS](/packages/opencode506-yii2-i18njs/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependenciesVersions (1)Used By (0)

Yii2 i18n Javascript Extension.
===============================

[](#yii2-i18n-javascript-extension)

Yii2 i18n Javascript Extension. Support for translations from javascript using the native i18n component of Yii2.

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

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Either run

```
php composer.phar require --prefer-dist opencode506/yii2-i18njs "*"

```

or add

```
"opencode506/yii2-i18njs": "*"

```

to the require section of your `composer.json` file.

Usage
-----

[](#usage)

Once the extension is installed, simply use it in your code by :

```
```
```

###  Health Score

19

—

LowBetter than 9% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity39

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/d750ae8a6c5ab2124aab25760a5a45f139d2aa4293d4d2dac54aa29f73e1bb89?d=identicon)[opencode506](/maintainers/opencode506)

---

Top Contributors

[![opencodecr](https://avatars.githubusercontent.com/u/39015896?v=4)](https://github.com/opencodecr "opencodecr (8 commits)")

---

Tags

i18njavascriptphp7yii2yii2-extension

### Embed Badge

![Health badge](/badges/opencode506-yii2-i18njs/health.svg)

```
[![Health](https://phpackages.com/badges/opencode506-yii2-i18njs/health.svg)](https://phpackages.com/packages/opencode506-yii2-i18njs)
```

###  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.

1926.6k1](/packages/smmoosavi-php-gettext)[laradevs/spanish

labels translated to spanish

166.7k](/packages/laradevs-spanish)

PHPackages © 2026

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