PHPackages                             shibleshakil/dynamic-language - 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. shibleshakil/dynamic-language

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

shibleshakil/dynamic-language
=============================

The dynamic-language Laravel package simplifies localization management, making it effortless to handle missing keys in language files. It seamlessly generates language files for each newly added language, enhancing the efficiency of your localization efforts. Additionally, it takes care of configuring locale settings, ensuring smooth transitions between languages.

v1.2.1(2y ago)740MITPHPPHP &gt;=8.0

Since Aug 14Pushed 2y ago1 watchersCompare

[ Source](https://github.com/shibleshakil/dynamic-language)[ Packagist](https://packagist.org/packages/shibleshakil/dynamic-language)[ RSS](/packages/shibleshakil-dynamic-language/feed)WikiDiscussions main Synced today

READMEChangelog (2)DependenciesVersions (4)Used By (0)

dynamic-language: Laravel Localization Management Simplified!
=============================================================

[](#dynamic-language-laravel-localization-management-simplified)

The **dynamic-language** Laravel package simplifies localization management, making it effortless to handle missing keys in language files. It seamlessly generates language files for each newly added language, enhancing the efficiency of your localization efforts. Additionally, it takes care of configuring locale settings, ensuring smooth transitions between languages. Developers seeking well-organized localization support for their Laravel applications will find this package to be an invaluable tool.

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

[](#installation)

To incorporate the **dynamic-language** package into your Laravel project, use Composer:

```
composer require shibleshakil/dynamic-language

```

Next, add the service provider to your config/app.php file:

```
shibleshakil\DynamicLanguage\DynamicLanguageServiceProvider::class

```

Copy the package config to your local config and migration file to your local migration directory with the publish command:

```
php artisan vendor:publish --provider="shibleshakil\DynamicLanguage\DynamicLanguageServiceProvider" --tag="config"

```

Finally, migrate the language table:

```
php artisan migrate

```

Usage
-----

[](#usage)

Retrieve the default locale by calling:

```
shibleshakil\DynamicLanguage\TranslationHelper::getDefaultLanguage()

```

Add a new language file:

```
shibleshakil\DynamicLanguage\TranslationHelper::addLanguageFile($lang)

```

Get all Transabled Keys of a locale:

```
shibleshakil\DynamicLanguage\TranslationHelper::allTransabledKeys($locale)

```

Update language key values:

```
shibleshakil\DynamicLanguage\TranslationHelper::translateKey($key, $value, $lang)

```

Explore the eloquent model for retrieving your language list:

```
$languages = shibleshakil\DynamicLanguage\Language::get();

```

Make your Laravel application's localization journey smoother with dynamic-language.

Contribution
------------

[](#contribution)

We welcome contributions from the community! Feel free to submit issues and pull requests to enhance this package.

License
-------

[](#license)

This package is open-source and distributed under the MIT License.

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity51

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 ~87 days

Total

3

Last Release

878d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/55056611?v=4)[Shible Ahmed Shakil](/maintainers/shibleshakil)[@shibleshakil](https://github.com/shibleshakil)

---

Top Contributors

[![shibleshakil](https://avatars.githubusercontent.com/u/55056611?v=4)](https://github.com/shibleshakil "shibleshakil (15 commits)")

### Embed Badge

![Health badge](/badges/shibleshakil-dynamic-language/health.svg)

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

###  Alternatives

[smmoosavi/php-gettext

Wrapper for php-gettext by danilo segan. This library provides PHP functions to read MO files even when gettext is not compiled in or when appropriate locale is not present on the system.

1927.0k1](/packages/smmoosavi-php-gettext)

PHPackages © 2026

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