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.13(2mo ago)189.5k36[6 issues](https://github.com/wikimedia/language-data/issues)[3 PRs](https://github.com/wikimedia/language-data/pulls)1GPL-2.0-or-laterPHPPHP &gt;=8.1CI passing

Since May 26Pushed 1w ago11 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 today

READMEChangelog (10)Dependencies (13)Versions (39)Used By (1)

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

62

—

FairBetter than 99% of packages

Maintenance86

Actively maintained with recent releases

Popularity40

Moderate usage in the ecosystem

Community34

Small or concentrated contributor base

Maturity77

Established project with proven stability

 Bus Factor1

Top contributor holds 52.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 ~93 days

Recently: every ~63 days

Total

24

Last Release

79d ago

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

1.1.2PHP &gt;=7.3

1.1.9PHP &gt;=8.0

1.1.10PHP &gt;=8.1

### 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 (100 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)")[![ToluAyodele](https://avatars.githubusercontent.com/u/129562437?v=4)](https://github.com/ToluAyodele "ToluAyodele (13 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)")[![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)")[![winstonsung](https://avatars.githubusercontent.com/u/52590365?v=4)](https://github.com/winstonsung "winstonsung (4 commits)")[![reedy](https://avatars.githubusercontent.com/u/67615?v=4)](https://github.com/reedy "reedy (4 commits)")[![gkm563](https://avatars.githubusercontent.com/u/149255538?v=4)](https://github.com/gkm563 "gkm563 (3 commits)")[![hueitan](https://avatars.githubusercontent.com/u/2560096?v=4)](https://github.com/hueitan "hueitan (2 commits)")[![MarcoAurelioWM](https://avatars.githubusercontent.com/u/30000615?v=4)](https://github.com/MarcoAurelioWM "MarcoAurelioWM (2 commits)")[![A-Rohit-Reddy](https://avatars.githubusercontent.com/u/177940369?v=4)](https://github.com/A-Rohit-Reddy "A-Rohit-Reddy (2 commits)")[![jdforrester](https://avatars.githubusercontent.com/u/881572?v=4)](https://github.com/jdforrester "jdforrester (2 commits)")[![Siddharth-Talreja](https://avatars.githubusercontent.com/u/222464234?v=4)](https://github.com/Siddharth-Talreja "Siddharth-Talreja (2 commits)")[![RobinvanderVliet](https://avatars.githubusercontent.com/u/692029?v=4)](https://github.com/RobinvanderVliet "RobinvanderVliet (2 commits)")[![wangombe-g](https://avatars.githubusercontent.com/u/12006290?v=4)](https://github.com/wangombe-g "wangombe-g (2 commits)")[![revi](https://avatars.githubusercontent.com/u/7630875?v=4)](https://github.com/revi "revi (2 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.6k213.6M1.4k](/packages/symfony-intl)[gettext/languages

gettext languages with plural rules

7832.7M12](/packages/gettext-languages)[punic/punic

PHP-Unicode CLDR

1573.0M31](/packages/punic-punic)[aplus/language

Aplus Framework Language Library

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

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

938.5M4](/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

458.2k](/packages/mediawiki-translate)

PHPackages © 2026

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