PHPackages                             uretral/multi-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. uretral/multi-language

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

uretral/multi-language
======================

multi-language

09Blade

Since Nov 4Pushed 2y agoCompare

[ Source](https://github.com/uretral/multi-language)[ Packagist](https://packagist.org/packages/uretral/multi-language)[ RSS](/packages/uretral-multi-language/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

laravel-admin Multi Language
============================

[](#laravel-admin-multi-language)

Install
-------

[](#install)

```
composer require uretral/multi-language

```

Config
------

[](#config)

First, add extension config

In `config/admin.php`

```
        'multi-language' => [
            'enable' => true,

            'cookie-locale' => 'locale',
            'default_locale' => 'ru',
            'languages' => [
                'en' => 'English',
                'ru' => 'Русский',
            ],

            'cookie-country' => 'country',
            'default_country' => 'ru',
            'countries' => [
                'ru' => [
                    'title_ru' => 'Россия',
                    'title_en' => 'Russia',
                    'flag' => 'assets/admin/img/flags/ru.svg'
                ],
                'ae' => [
                    'title_ru' => 'Эмираты',
                    'title_en' => 'Emirates',
                    'flag' => 'assets/admin/img/flags/ae.svg'
                ],
                'tr' => [
                    'title_ru' => 'Турция',
                    'title_en' => 'Turkey',
                    'flag' => 'assets/admin/img/flags/tr.svg'
                ],
            ],

            'cookie-module' => 'module',
            'default_module' => 'tenant',
            'modules' => [
                'tenant' => [
                    'ru' => 'Жилец',
                    'en' => 'Tenant',
                ],
                'my' => [
                    'ru' => 'Собственник',
                    'en' => 'Landlord',
                ]
            ],

            'show-navbar' => true,
            'show-login-page' => true,

        ],

```

Then, add except route to auth

In `config/admin.php`, add `locale` to `auth.excepts`

```
    'auth' => [
        ...
        // The URIs that should be excluded from authorization.
        'excepts' => [
            'auth/login',
            'auth/logout',
            // add this line !
            'locale',
        ],
    ],

```

###  Health Score

14

—

LowBetter than 2% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity20

Early-stage or recently created project

 Bus Factor1

Top contributor holds 50% 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.

### Community

Maintainers

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

---

Top Contributors

[![kevin1018](https://avatars.githubusercontent.com/u/20313390?v=4)](https://github.com/kevin1018 "kevin1018 (15 commits)")[![uretral](https://avatars.githubusercontent.com/u/27734113?v=4)](https://github.com/uretral "uretral (12 commits)")[![ame1973](https://avatars.githubusercontent.com/u/32356815?v=4)](https://github.com/ame1973 "ame1973 (1 commits)")[![keoy7am](https://avatars.githubusercontent.com/u/20974778?v=4)](https://github.com/keoy7am "keoy7am (1 commits)")[![koshkoshka](https://avatars.githubusercontent.com/u/5415499?v=4)](https://github.com/koshkoshka "koshkoshka (1 commits)")

### Embed Badge

![Health badge](/badges/uretral-multi-language/health.svg)

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

###  Alternatives

[symfony/translation

Provides tools to internationalize your application

6.6k836.5M2.1k](/packages/symfony-translation)[nesbot/carbon

An API extension for DateTime that supports 281 different languages.

169661.4M4.8k](/packages/nesbot-carbon)[joedixon/laravel-translation

A tool for managing all of your Laravel translations

717911.4k11](/packages/joedixon-laravel-translation)[illuminate/translation

The Illuminate Translation package.

6936.4M495](/packages/illuminate-translation)[lajax/yii2-translate-manager

Translation management extension for Yii 2

227578.8k13](/packages/lajax-yii2-translate-manager)[larswiegers/laravel-translations-checker

Make sure your laravel translations are checked and are included in all languages.

256423.2k2](/packages/larswiegers-laravel-translations-checker)

PHPackages © 2026

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