PHPackages                             gephart/language - 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. gephart/language

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

gephart/language
================

Gephart Language Component

0.5(8y ago)04462MITPHPPHP &gt;=7.1

Since Apr 5Pushed 8y ago1 watchersCompare

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

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

Gephart Language
================

[](#gephart-language)

[![Build Status](https://camo.githubusercontent.com/77c08ffd68090d12393c2f13bf4f2428344fd66415f61ba31ae8f858c3e227c8/68747470733a2f2f7472617669732d63692e6f72672f676570686172742f6c616e67756167652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/gephart/language)

Dependencies
------------

[](#dependencies)

- PHP &gt;= 7.1
- gephart/configuration = 0.4.\*
- gephart/dependency-injection = 0.4.\*

Instalation
-----------

[](#instalation)

```
composer require gephart/language
```

Using
-----

[](#using)

config/language.json

```
{
  "fallback": "cs"
}
```

```
$container = new \Gephart\DependencyInjection\Container();

/** @var \Gephart\Configuration\Configuration $configuration */
$configuration = $container->get(\Gephart\Configuration\Configuration::class);
$configuration->setDirectory(__DIR__ . "/config");

$language = $container->get(\Gephart\Language\Language::class);

echo $language->get(); // cs (fallback)

$language->set("en");
echo $language->get(); // en
```

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity50

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 ~95 days

Total

3

Last Release

3182d ago

PHP version history (2 changes)0.3PHP &gt;=7.0

0.4PHP &gt;=7.1

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1405383?v=4)[Michal Katuščák](/maintainers/MichalKatuscak)[@MichalKatuscak](https://github.com/MichalKatuscak)

---

Top Contributors

[![MichalKatuscak](https://avatars.githubusercontent.com/u/1405383?v=4)](https://github.com/MichalKatuscak "MichalKatuscak (13 commits)")

###  Code Quality

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/gephart-language/health.svg)

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

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