PHPackages                             astrotomic/iso639 - 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. astrotomic/iso639

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

astrotomic/iso639
=================

A PHP library providing ISO 639-1 data.

1.0.0(5y ago)32.6k1MITPHPPHP ^7.4 || ^8.0

Since May 10Pushed 5y ago1 watchersCompare

[ Source](https://github.com/Astrotomic/iso639)[ Packagist](https://packagist.org/packages/astrotomic/iso639)[ Docs](https://github.com/Astrotomic/iso639)[ Fund](https://forest.astrotomic.info)[ GitHub Sponsors](https://github.com/Gummibeer)[ RSS](/packages/astrotomic-iso639/feed)WikiDiscussions main Synced 3d ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (1)

ISO-639
=======

[](#iso-639)

[![Latest Version](https://camo.githubusercontent.com/99bb22996979d6ce25d6deca98b7823784e0e45e6c670143cc2541968af6d8e1/687474703a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f617374726f746f6d69632f69736f3633392e7376673f6c6162656c3d52656c65617365267374796c653d666f722d7468652d6261646765)](https://packagist.org/packages/astrotomic/iso639)[![MIT License](https://camo.githubusercontent.com/ca258ccb3e23d8c64088e5f10477d4501343c6edb7d6f2aca57181d7593ef2a7/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f417374726f746f6d69632f69736f3633392e7376673f6c6162656c3d4c6963656e736526636f6c6f723d626c7565267374796c653d666f722d7468652d6261646765)](https://github.com/Astrotomic/iso639/blob/master/LICENSE)[![Offset Earth](https://camo.githubusercontent.com/d204555ebe1fb0ae82d10c97b4f4ffc2dfdd2ba1489f98be7f7e8708333a0466/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f54726565776172652d2546302539462538432542332d677265656e3f7374796c653d666f722d7468652d6261646765)](https://plant.treeware.earth/Astrotomic/iso639)[![Larabelles](https://camo.githubusercontent.com/a2c8d5126ddd8c5ddc627176d1d2e0568f8399b50038e71fd7f774c3e24dbe4b/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c61726162656c6c65732d2546302539462541362538342d6c6967687470696e6b3f7374796c653d666f722d7468652d6261646765)](https://www.larabelles.com/)

[![GitHub Workflow Status](https://camo.githubusercontent.com/a8c159dd72670d5f49ce442e56c81e86286f66f0a314ac2f6d690f604d7ebfe8/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f417374726f746f6d69632f69736f3633392f72756e2d74657374733f7374796c653d666c61742d737175617265266c6f676f436f6c6f723d7768697465266c6f676f3d676974687562266c6162656c3d5465737473)](https://github.com/Astrotomic/iso639/actions?query=workflow%3Arun-tests)[![StyleCI](https://camo.githubusercontent.com/5c8d7301b6e72cd6f2cbaa7a24fbd9d760abfcfafd660bb55c96fc885b043f51/68747470733a2f2f7374796c6563692e696f2f7265706f732f3238343030383333312f736869656c64)](https://styleci.io/repos/284008331)[![Total Downloads](https://camo.githubusercontent.com/2932647c990a439ad62926389a88ad6d5ae3ef1961dae9416d6cc7030084b6a1/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f617374726f746f6d69632f69736f3633392e7376673f6c6162656c3d446f776e6c6f616473267374796c653d666c61742d737175617265)](https://packagist.org/packages/astrotomic/iso639)

A PHP library providing ISO 639-1 data.

Installing
----------

[](#installing)

```
composer require astrotomic/iso639
```

Usage
-----

[](#usage)

```
use Astrotomic\ISO639\ISO639;

$iso639 = new ISO639();

// dataset methods
$iso639->count();
$iso639->all();
$iso639->all(ISO639::KEY_639_1);
$iso639->iterator(ISO639::KEY_639_1);

// language retriever
$iso639->name('German');
$iso639->alpha2('de');

// ISO specific methods
$iso639->iso639_1('de');
$iso639->iso639_2B('ger');
$iso639->iso639_2T('deu');
```

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity57

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

Unknown

Total

1

Last Release

1829d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/eb5d60f7dd33ef3680490f11b3cd461b0c7a5dcddfe69d57fb1f6a3406be4570?d=identicon)[Gummibeer](/maintainers/Gummibeer)

---

Top Contributors

[![Gummibeer](https://avatars.githubusercontent.com/u/6187884?v=4)](https://github.com/Gummibeer "Gummibeer (6 commits)")

---

Tags

iso639iso639-1languageslanguagesisoiso-639639

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/astrotomic-iso639/health.svg)

```
[![Health](https://phpackages.com/badges/astrotomic-iso639/health.svg)](https://phpackages.com/packages/astrotomic-iso639)
```

###  Alternatives

[matriphe/iso-639

PHP library to convert ISO-639-1 code to language name.

503.3M6](/packages/matriphe-iso-639)[rinvex/countries

Rinvex Countries is a simple and lightweight package for retrieving country details with flexibility. A whole bunch of data including name, demonym, capital, iso codes, dialling codes, geo data, currencies, flags, emoji, and other attributes for all 250 countries worldwide at your fingertips.

1.7k7.4M48](/packages/rinvex-countries)[league/iso3166

ISO 3166-1 PHP Library

69536.3M116](/packages/league-iso3166)[payum/iso4217

ISO 4217 PHP Library

16312.1M5](/packages/payum-iso4217)[juanparati/iso-codes

A PHP library that provides ISO codes, currencies, languages, timezones and additional geopolitical information

17146.4k](/packages/juanparati-iso-codes)[icecave/chrono

A date &amp; time library that is decoupled from the system clock.

54188.9k7](/packages/icecave-chrono)

PHPackages © 2026

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