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

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

wikimedia/language-data
=======================

Language data and utilities.

1.1.9(9mo ago)1817630[2 issues](https://github.com/wikimedia/language-data/issues)[4 PRs](https://github.com/wikimedia/language-data/pulls)GPL-2.0-or-laterPHPPHP &gt;=8.0CI passing

Since May 26Pushed 3mo ago12 watchersCompare

[ Source](https://github.com/wikimedia/language-data)[ Packagist](https://packagist.org/packages/wikimedia/language-data)[ RSS](/packages/wikimedia-language-data/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (3)Versions (33)Used By (0)

Language data and utilities
===========================

[](#language-data-and-utilities)

[![npm](https://camo.githubusercontent.com/b958891caa076bb35fb03aaf46e4c730fa35e1856f0b2d5cea83273b61ef3227/68747470733a2f2f696d672e736869656c64732e696f2f6e706d2f762f4077696b696d656469612f6c616e67756167652d646174612e737667)](https://npmjs.com/package/@wikimedia/language-data)[![node-build](https://github.com/wikimedia/language-data/workflows/Node.js%20build/badge.svg)](https://github.com/wikimedia/language-data/actions?query=workflow%3A%22Node.js+build%22)[![php-build](https://github.com/wikimedia/language-data/workflows/PHP%20build/badge.svg)](https://github.com/wikimedia/language-data/actions?query=workflow%3A%22PHP+build%22)

This library contains language related data, and utility libraries written in PHP and Node.js to interact with that data.

The language related data comprises of the following,

1. The script in which a language is written
2. The script code
3. The language code
4. The regions in which the language is spoken
5. The autonym - language name written in its own script
6. The directionality of the text

This data is populated from the current version of [CLDR supplemental data](http://unicode.org/repos/cldr/trunk/common/supplemental/supplementalData.xml)and various other sources.

Documentation
-------------

[](#documentation)

1. [Full documentation](https://language-data.readthedocs.io/en/latest/index.html)
2. [Using the PHP library](https://language-data.readthedocs.io/en/latest/index.html#using-the-php-library)
    - [PHP API documentation](https://language-data.readthedocs.io/en/latest/api/languagedata/languageutil.html)
3. [Using the Node.js library](https://language-data.readthedocs.io/en/latest/index.html#using-the-node-js-library)
4. [Adding Languages](https://language-data.readthedocs.io/en/latest/user/adding_new_language.html)

Release schedule
----------------

[](#release-schedule)

Similar to [MLEB](https://www.mediawiki.org/wiki/MediaWiki_Language_Extension_Bundle), this library will have a quarterly release schedule, and will be released along with MLEB. Intermediate releases will be made for important bug fixes.

Changelog
---------

[](#changelog)

The full changelog is available in [CHANGELOG.md](https://github.com/wikimedia/language-data/blob/master/CHANGELOG.md).

###  Health Score

52

—

FairBetter than 96% of packages

Maintenance69

Regular maintenance activity

Popularity28

Limited adoption so far

Community31

Small or concentrated contributor base

Maturity72

Established project with proven stability

 Bus Factor1

Top contributor holds 55.6% 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 ~99 days

Recently: every ~162 days

Total

20

Last Release

288d ago

PHP version history (3 changes)1.0.0PHP &gt;=7.2

1.1.2PHP &gt;=7.3

1.1.9PHP &gt;=8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/716c86d71cbf921e7912a505f89d799de398fc0a3af0bd4c8862834b2d642bd7?d=identicon)[wikimedia](/maintainers/wikimedia)

![](https://www.gravatar.com/avatar/9732a3e672726694dc83efdc70835016fb1a8d67f9abfce5b9cae1e11204822d?d=identicon)[Nikerabbit](/maintainers/Nikerabbit)

![](https://www.gravatar.com/avatar/7f9f37998486dcb4909a6e5a871daf3e64e219d8067bfb8df7ffba3afe36056c?d=identicon)[abijeet](/maintainers/abijeet)

---

Top Contributors

[![amire80](https://avatars.githubusercontent.com/u/346271?v=4)](https://github.com/amire80 "amire80 (264 commits)")[![Abijeet](https://avatars.githubusercontent.com/u/1685517?v=4)](https://github.com/Abijeet "Abijeet (86 commits)")[![santhoshtr](https://avatars.githubusercontent.com/u/161672?v=4)](https://github.com/santhoshtr "santhoshtr (26 commits)")[![jhsoby](https://avatars.githubusercontent.com/u/1954097?v=4)](https://github.com/jhsoby "jhsoby (17 commits)")[![Nikerabbit](https://avatars.githubusercontent.com/u/1109395?v=4)](https://github.com/Nikerabbit "Nikerabbit (12 commits)")[![srish](https://avatars.githubusercontent.com/u/288353?v=4)](https://github.com/srish "srish (11 commits)")[![ToluAyodele](https://avatars.githubusercontent.com/u/129562437?v=4)](https://github.com/ToluAyodele "ToluAyodele (11 commits)")[![kartikm](https://avatars.githubusercontent.com/u/164317?v=4)](https://github.com/kartikm "kartikm (10 commits)")[![nikkiwd](https://avatars.githubusercontent.com/u/18699222?v=4)](https://github.com/nikkiwd "nikkiwd (8 commits)")[![reedy](https://avatars.githubusercontent.com/u/67615?v=4)](https://github.com/reedy "reedy (4 commits)")[![winstonsung](https://avatars.githubusercontent.com/u/52590365?v=4)](https://github.com/winstonsung "winstonsung (4 commits)")[![jdforrester](https://avatars.githubusercontent.com/u/881572?v=4)](https://github.com/jdforrester "jdforrester (2 commits)")[![revi](https://avatars.githubusercontent.com/u/7630875?v=4)](https://github.com/revi "revi (2 commits)")[![RobinvanderVliet](https://avatars.githubusercontent.com/u/692029?v=4)](https://github.com/RobinvanderVliet "RobinvanderVliet (2 commits)")[![MarcoAurelioWM](https://avatars.githubusercontent.com/u/30000615?v=4)](https://github.com/MarcoAurelioWM "MarcoAurelioWM (2 commits)")[![wangombe-g](https://avatars.githubusercontent.com/u/12006290?v=4)](https://github.com/wangombe-g "wangombe-g (2 commits)")[![cscott](https://avatars.githubusercontent.com/u/156080?v=4)](https://github.com/cscott "cscott (1 commits)")[![ZabeMath](https://avatars.githubusercontent.com/u/35405030?v=4)](https://github.com/ZabeMath "ZabeMath (1 commits)")[![kizule](https://avatars.githubusercontent.com/u/28963303?v=4)](https://github.com/kizule "kizule (1 commits)")[![ledzeppelin](https://avatars.githubusercontent.com/u/4949540?v=4)](https://github.com/ledzeppelin "ledzeppelin (1 commits)")

---

Tags

autonymcldrltrrtllocalizationinternationalizationl10ncldrcldr-data

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[symfony/intl

Provides access to the localization data of the ICU library

2.6k199.8M1.1k](/packages/symfony-intl)[gettext/languages

gettext languages with plural rules

7530.3M11](/packages/gettext-languages)[punic/punic

PHP-Unicode CLDR

1542.9M29](/packages/punic-punic)[aplus/language

Aplus Framework Language Library

2351.7M15](/packages/aplus-language)[aura/intl

The Aura Intl package provides internationalization tools, specifically message translation.

898.3M4](/packages/aura-intl)[mediawiki/translate

The only standard solution to translate any kind of text with an avant-garde web interface within MediaWiki, including your documentation and software

457.9k](/packages/mediawiki-translate)

PHPackages © 2026

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