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)03972MITPHPPHP &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 2mo 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

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

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

3132d ago

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

0.4PHP &gt;=7.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/0ba9a3cad30ba7a773289e9da52832255f6f5a1f2eaaaa25a464186a47cb8c23?d=identicon)[MichalKatuscak](/maintainers/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

[symfony/translation

Provides tools to internationalize your application

6.6k836.5M2.1k](/packages/symfony-translation)[nesbot/carbon

An API extension for DateTime that supports 281 different languages.

169661.4M4.8k](/packages/nesbot-carbon)[joedixon/laravel-translation

A tool for managing all of your Laravel translations

717911.4k11](/packages/joedixon-laravel-translation)[illuminate/translation

The Illuminate Translation package.

6936.4M495](/packages/illuminate-translation)[lajax/yii2-translate-manager

Translation management extension for Yii 2

227578.8k13](/packages/lajax-yii2-translate-manager)[larswiegers/laravel-translations-checker

Make sure your laravel translations are checked and are included in all languages.

256423.2k2](/packages/larswiegers-laravel-translations-checker)

PHPackages © 2026

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