PHPackages                             lbreda/laravel-langdb - 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. lbreda/laravel-langdb

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

lbreda/laravel-langdb
=====================

Language database for Laravel

v1.0.7(4y ago)0101GPL-3.0-or-laterPHPPHP ^8.0

Since Jan 15Pushed 4y ago1 watchersCompare

[ Source](https://github.com/LBreda/laravel-langdb)[ Packagist](https://packagist.org/packages/lbreda/laravel-langdb)[ GitHub Sponsors](https://github.com/lbreda)[ Fund](https://ko-fi.com/lbreda)[ RSS](/packages/lbreda-laravel-langdb/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (8)Dependencies (3)Versions (9)Used By (0)

Laravel-LangDB
==============

[](#laravel-langdb)

A package to add a language database in your Laravel application.

It contains a comprehensive list of languages and their ISO codes.

Installation
------------

[](#installation)

You can install the package via composer:

```
composer require lbreda/laravel-langdb

```

Then you have to migrate:

```
php artisan migrate

```

After migrating, you need to refresh the language database using the command

```
php artisan lbreda:refresh-lang-db

```

Usage
-----

[](#usage)

The application adds a new model to your application: `LBreda\LaravelLangDb\Language`.

The model is a standard Eloquent model. Its tables is pre-filled with a comprehensive dataset.

Each language has the following properties (some of them may be `null`):

- `code_639_1`: ISO-639-1 language code
- `code_639_2t`: ISO-639-2/T language code
- `code_639_2b`: ISO-639-2/B language code
- `code_639_3`: ISO-639-3 language code
- `native_name`: Native language name
- `translatable_name`: A string you can pass to `__()` or `trans()` to have the language name in your application language

Contribute
----------

[](#contribute)

You can contribute via GitHub pull requests. Feel free to report bugs via GitHub.

Translations are VERY well accepted.

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity59

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

Every ~4 days

Total

8

Last Release

1547d ago

### Community

Maintainers

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

---

Top Contributors

[![LBreda](https://avatars.githubusercontent.com/u/633783?v=4)](https://github.com/LBreda "LBreda (10 commits)")

### Embed Badge

![Health badge](/badges/lbreda-laravel-langdb/health.svg)

```
[![Health](https://phpackages.com/badges/lbreda-laravel-langdb/health.svg)](https://phpackages.com/packages/lbreda-laravel-langdb)
```

###  Alternatives

[barryvdh/laravel-ide-helper

Laravel IDE Helper, generates correct PHPDocs for all Facade classes, to improve auto-completion.

14.9k123.0M683](/packages/barryvdh-laravel-ide-helper)[fumeapp/modeltyper

Generate TypeScript interfaces from Laravel Models

196277.9k](/packages/fumeapp-modeltyper)[orchestra/canvas

Code Generators for Laravel Applications and Packages

21017.2M157](/packages/orchestra-canvas)[kerigard/laravel-lang-ru

Ru lang for Laravel

2116.8k](/packages/kerigard-laravel-lang-ru)[longman/laravel-multilang

Package to integrate multi language (multi locale) functionality in Laravel 5.x

5514.4k1](/packages/longman-laravel-multilang)[highsolutions/laravel-translation-manager

Manage Laravel Translations

1518.8k](/packages/highsolutions-laravel-translation-manager)

PHPackages © 2026

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