PHPackages                             phpixie/nxeed-i18n - 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. phpixie/nxeed-i18n

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

phpixie/nxeed-i18n
==================

PHPixie internationalization library

1382PHP

Since Jul 8Pushed 11y ago2 watchersCompare

[ Source](https://github.com/nxeed/PHPixie-Nxeed-I18n)[ Packagist](https://packagist.org/packages/phpixie/nxeed-i18n)[ RSS](/packages/phpixie-nxeed-i18n/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

I18n Module for PHPixie
=======================

[](#i18n-module-for-phpixie)

Just little "crutch" for using internationalization in PHPixie

- Automatically URL modification
- XML for translations
- Very simple to use

How to install?
---------------

[](#how-to-install)

- Add package in "require" section of *composer.json*

```
"phpixie/nxeed-i18n": "2.*@dev"

```

- Update your vendors

```
php composer.phar update -o  --prefer-dist

```

How to use?
-----------

[](#how-to-use)

- Add a config file under */assets/config/i18n.php*
- Define default language and language list of your application

```
return array(
    'default' => 'ru',
    'list' => array('ru', 'en')
);

```

- Define this in your *Pixie.php*

```
protected $modules = array(
    'i18n' => '\PHPixie\I18n'
);

```

- Call the "run" method from "after\_bootstrap" of your *Pixie.php*

```
protected function after_bootstrap() {
    $this->i18n->run();
}

```

- Create translation files under */assets/i18n/%section name%* with names *%lang alias%.xml*
- Use "get" method to get necessary translations

```
$i18n = $this->pixie->i18n->get('main');
$this->view->title = $i18n->site->title;

```

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/93597aac385773f35f397c3e503557b488b1b26ced400edd3fdc9979ff87efdf?d=identicon)[nxeed](/maintainers/nxeed)

---

Top Contributors

[![nxeed](https://avatars.githubusercontent.com/u/8059563?v=4)](https://github.com/nxeed "nxeed (21 commits)")

### Embed Badge

![Health badge](/badges/phpixie-nxeed-i18n/health.svg)

```
[![Health](https://phpackages.com/badges/phpixie-nxeed-i18n/health.svg)](https://phpackages.com/packages/phpixie-nxeed-i18n)
```

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