PHPackages                             divineomega/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. [Utility &amp; Helpers](/categories/utility)
4. /
5. divineomega/php-languages

Abandoned → [jord-jd/php-languages](/?search=jord-jd%2Fphp-languages)Library[Utility &amp; Helpers](/categories/utility)

divineomega/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(2mo ago)138↓100%1LGPL-3.0-onlyPHP

Since Jun 18Pushed 2mo agoCompare

[ Source](https://github.com/Jord-JD/php-languages)[ Packagist](https://packagist.org/packages/divineomega/php-languages)[ GitHub Sponsors](https://github.com/DivineOmega)[ RSS](/packages/divineomega-php-languages/feed)WikiDiscussions master Synced 2mo 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

45

—

FairBetter than 92% of packages

Maintenance83

Actively maintained with recent releases

Popularity11

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

84d 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/divineomega-php-languages/health.svg)

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

###  Alternatives

[websharks/html-compressor

Combines &amp; compresses CSS/JS/HTML code.

407.1k1](/packages/websharks-html-compressor)[limewell/laravel-make-extender

This package helps to generate and autoload custom helpers, It can generate multilevel helpers in the context of the directory.

366.8k](/packages/limewell-laravel-make-extender)[linkorb/autotune

Tune your autoloader

177.0k17](/packages/linkorb-autotune)[jayanka/patch-manager

A magento extension to maintain data patches

232.4k](/packages/jayanka-patch-manager)[tapp/filament-progress-bar-column

Add beautiful, color-coded progress bars to your Filament table columns. Perfect for inventory, tasks, storage, and any progress metrics without writing custom views.

124.5k](/packages/tapp-filament-progress-bar-column)

PHPackages © 2026

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