PHPackages                             jeyroik/df-langs - 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. jeyroik/df-langs

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

jeyroik/df-langs
================

Languages package for DeFlou

0.1.0(2y ago)05PHP

Since Jul 28Pushed 2y ago1 watchersCompare

[ Source](https://github.com/jeyroik/df-langs)[ Packagist](https://packagist.org/packages/jeyroik/df-langs)[ RSS](/packages/jeyroik-df-langs/feed)WikiDiscussions master Synced today

READMEChangelog (1)Dependencies (3)Versions (3)Used By (0)

[![tests](https://github.com/jeyroik/df-langs/workflows/PHP%20Composer/badge.svg?branch=master&event=push)](https://github.com/jeyroik/df-langs/workflows/PHP%20Composer/badge.svg?branch=master&event=push)[![codecov.io](https://camo.githubusercontent.com/de11ef96a6acabb439f717d98a9f0ba732666dccbdcdebb95621e36a4f5a3ede/68747470733a2f2f636f6465636f762e696f2f67682f6a6579726f696b2f64662d6c616e67732f636f7665726167652e7376673f6272616e63683d6d6173746572)](https://camo.githubusercontent.com/de11ef96a6acabb439f717d98a9f0ba732666dccbdcdebb95621e36a4f5a3ede/68747470733a2f2f636f6465636f762e696f2f67682f6a6579726f696b2f64662d6c616e67732f636f7665726167652e7376673f6272616e63683d6d6173746572)[![](https://camo.githubusercontent.com/3adcad748ded141df699b8cce83110ec5f5af33b14efb04f62aef81d4e3ba767/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f64656335363735656665336562363865323162382f6d61696e7461696e6162696c697479)](https://codeclimate.com/github/jeyroik/df-langs/maintainability)[![Latest Stable Version](https://camo.githubusercontent.com/148be8351b444de44ea59fb038d6434ad87180e29276986872bfd43a76a09dc5/68747470733a2f2f706f7365722e707567782e6f72672f6a6579726f696b2f64662d6c616e67732f76)](//packagist.org/packages/jeyroik/df-langs)[![Total Downloads](https://camo.githubusercontent.com/171c26f8c6b379f7a2ed993fc359b6986e25c09e4fddf31a51141050d3cf15b7/68747470733a2f2f706f7365722e707567782e6f72672f6a6579726f696b2f64662d6c616e67732f646f776e6c6f616473)](//packagist.org/packages/jeyroik/df-langs)[![Dependents](https://camo.githubusercontent.com/88149d6a9188bf3ca902fa5e68b37c3e6dcfd5d3f95980ed5d638c010751a6c2/68747470733a2f2f706f7365722e707567782e6f72672f6a6579726f696b2f64662d6c616e67732f646570656e64656e7473)](//packagist.org/packages/jeyroik/df-langs)

df-langs
========

[](#df-langs)

Langs support for DeFlou

usage
=====

[](#usage)

extas.php

```
{
    "languages": [
        {
            "name": "russian",
            "title": "Русский",
            "params": {
                "code": {
                    "name": "code",
                    "value": "ru"
                }
            }
        }
    ],

    "phrases": [
        {
            "name": "test",
            "lang": "russian",
            "value": "тест"
        }
    ]
}
```

Install languages and phrases: `$ extas i`

Phrase translate

```
echo ELangs::Russian->translate('test'); // результат: тест
```

Also you can translate object fields and parameters title/description. See tests for details.

###  Health Score

18

—

LowBetter than 8% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity35

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.

###  Release Activity

Cadence

Every ~0 days

Total

2

Last Release

1070d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2aaec5c4bade6ab2b5d1a0f7d97ab4e0ff2ce83937f76499b2888ad16cde5e04?d=identicon)[jeyroik](/maintainers/jeyroik)

---

Top Contributors

[![jeyroik](https://avatars.githubusercontent.com/u/6348124?v=4)](https://github.com/jeyroik "jeyroik (3 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/jeyroik-df-langs/health.svg)

```
[![Health](https://phpackages.com/badges/jeyroik-df-langs/health.svg)](https://phpackages.com/packages/jeyroik-df-langs)
```

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