PHPackages                             vercoutere/lingua - 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. vercoutere/lingua

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

vercoutere/lingua
=================

Easily find (English or native) language names by their ISO 639-1 language code.

0.0.1(10y ago)033MITPHP

Since Oct 13Pushed 6y ago1 watchersCompare

[ Source](https://github.com/Vercoutere/lingua)[ Packagist](https://packagist.org/packages/vercoutere/lingua)[ RSS](/packages/vercoutere-lingua/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (1)Versions (2)Used By (0)

Lingua language library
-----------------------

[](#lingua-language-library)

[![No Maintenance Intended](https://camo.githubusercontent.com/d904056147052e22d8e1c7f46bb50293ed2aeb4c43ead9a2d0cf7a48b46d0562/687474703a2f2f756e6d61696e7461696e65642e746563682f62616467652e737667)](http://unmaintained.tech/)[![Build Status](https://camo.githubusercontent.com/8e605daf0a65f24e592f550f7fc2e065856339e816ae65dd037a44429f873a26/68747470733a2f2f7472617669732d63692e6f72672f566572636f75746572652f4c696e6775612e737667)](https://travis-ci.org/Vercoutere/Lingua)[![Total Downloads](https://camo.githubusercontent.com/445b1b1649083544f7c1d5d031099b46f9eca61f29e299d7538877409367c972/68747470733a2f2f706f7365722e707567782e6f72672f766572636f75746572652f6c696e6775612f646f776e6c6f616473)](https://packagist.org/packages/vercoutere/lingua)[![License](https://camo.githubusercontent.com/0588d272186e87b5e050e629a8ffa84c0749cd3b1c708ecad2cdbac9d203ac9a/68747470733a2f2f706f7365722e707567782e6f72672f766572636f75746572652f6c696e6775612f6c6963656e7365)](https://packagist.org/packages/vercoutere/lingua)

Lingua is a simple library that links language codes to language names in both English and the corresponding language's native translation.

Usage
-----

[](#usage)

Install using composer.

```
composer require vercoutere/lingua
```

Create a new instance.

```
use \Lingua\Language;

$lingua = new Language;
```

Use the availlable functions.

```
$language = $lingua->getLanguageByCode('en');
$language = $lingua->getLanguageByName('german');
$language = $lingua->getLanguageByNativeName('nederlands');
```

### License

[](#license)

This library is open sourced software licensed under the [MIT license](http://opensource.org/licenses/MIT)

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity53

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

3917d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1a5e5ad815b4d37376a61a3815df0b866f7a2148dfb02d8011c1a48b7f8504d0?d=identicon)[Vercoutere](/maintainers/Vercoutere)

---

Top Contributors

[![Vercoutere](https://avatars.githubusercontent.com/u/3820377?v=4)](https://github.com/Vercoutere "Vercoutere (3 commits)")

---

Tags

languageisolocale639-1

### Embed Badge

![Health badge](/badges/vercoutere-lingua/health.svg)

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

###  Alternatives

[codezero/laravel-localized-routes

A convenient way to set up, manage and use localized routes in a Laravel app.

544664.5k4](/packages/codezero-laravel-localized-routes)[aplus/language

Aplus Framework Language Library

2391.7M15](/packages/aplus-language)[lunetics/locale-bundle

A Bundle for switching Languages

1881.2M8](/packages/lunetics-locale-bundle)[vanderlee/syllable

Text syllable splitting and hyphenation using Frank M. Liang's TeX algorithm.

126481.7k10](/packages/vanderlee-syllable)[vluzrmos/language-detector

Detect the language for your application using browser preferences, subdomains or route prefixes.

111573.0k3](/packages/vluzrmos-language-detector)[tractorcow/silverstripe-fluent

Simple localisation for Silverstripe

91437.9k29](/packages/tractorcow-silverstripe-fluent)

PHPackages © 2026

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