PHPackages                             jord-jd/php-languages - 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. jord-jd/php-languages

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

jord-jd/php-languages
=====================

A tiny package to help convert between languages names (such as English, French, German) and various ISO language codes (such as en, fr, de).

v3.0.0(3mo ago)121LGPL-3.0-onlyPHP

Since Jun 18Pushed 3mo agoCompare

[ Source](https://github.com/Jord-JD/php-languages)[ Packagist](https://packagist.org/packages/jord-jd/php-languages)[ GitHub Sponsors](https://github.com/DivineOmega)[ RSS](/packages/jord-jd-php-languages/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (3)DependenciesVersions (4)Used By (0)

PHP Languages
=============

[](#php-languages)

PHP Languages is a tiny package to help convert between languages names (such as English, French, German) and various ISO language codes (such as en, fr, de).

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

[](#installation)

To install PHP Languages, just run the following Composer command.

```
composer require jord-jd/php-languages
```

Usage
-----

[](#usage)

First, you need to get a `Language` object. You can get object by language name or ISO code. You can also find all languages that belong to a particular family.

```
use \JordJD\Languages\Language;

$language = Language::getByName('German');
$language = Language::getByNativeName('Deutsch');
$language = Language::getByIso639_1('de');
$language = Language::getByIso639_2_t('deu');
$language = Language::getByIso639_2_b('ger');
$language = Language::getByIso639_3('deu');
$languages = Language::getByFamily('Indo-European');
```

Once you have your `Language` object, you can access its various public properties to yield information about the language.

```
echo $language->family;         // German
echo $language->name;           // Deutsch
echo $language->nativeName;     // de
echo $language->iso639_1;       // deu
echo $language->iso639_2_t;     // ger
echo $language->iso639_2_b;     // deu
echo $language->iso639_3;       // Indo-European
```

###  Health Score

43

—

FairBetter than 91% of packages

Maintenance82

Actively maintained with recent releases

Popularity5

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 91.7% 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 ~1399 days

Total

3

Last Release

93d ago

Major Versions

v1.0.0 → v2.0.02026-02-14

v2.0.0 → v3.0.02026-02-14

### Community

Maintainers

![](https://www.gravatar.com/avatar/c580cdf7c14898fff179cdfc1085892091d5d2f49d917873a12365af9ac77c93?d=identicon)[Jord-JD](/maintainers/Jord-JD)

---

Top Contributors

[![Jord-JD](https://avatars.githubusercontent.com/u/650645?v=4)](https://github.com/Jord-JD "Jord-JD (11 commits)")[![peter279k](https://avatars.githubusercontent.com/u/9021747?v=4)](https://github.com/peter279k "peter279k (1 commits)")

---

Tags

iso639iso639-1iso639-2iso639-3languagelanguagesphpphp-library

### Embed Badge

![Health badge](/badges/jord-jd-php-languages/health.svg)

```
[![Health](https://phpackages.com/badges/jord-jd-php-languages/health.svg)](https://phpackages.com/packages/jord-jd-php-languages)
```

###  Alternatives

[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)[inpsyde/multilingual-press

Simply THE multisite-based free open source plugin for your multilingual websites.

2414.0k1](/packages/inpsyde-multilingual-press)[statikbe/laravel-chained-translator

The Laravel Chained Translator can combine several translators that can override each others translations.

36149.4k6](/packages/statikbe-laravel-chained-translator)

PHPackages © 2026

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