PHPackages                             kiberzauras/laravel.multilanguage - 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. kiberzauras/laravel.multilanguage

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

kiberzauras/laravel.multilanguage
=================================

Multilanguage support for Laravel 5.1+ routes

v2.0.5(9y ago)117112MITPHPPHP &gt;=5.5.9

Since Jul 24Pushed 8y ago2 watchersCompare

[ Source](https://github.com/grinry/laravel.multilanguage)[ Packagist](https://packagist.org/packages/kiberzauras/laravel.multilanguage)[ RSS](/packages/kiberzauras-laravelmultilanguage/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)DependenciesVersions (14)Used By (0)

This package is not maintained anymore, please use [mcamara/laravel-localization](https://github.com/mcamara/laravel-localization) instead!

Multilanguage for Laravel 5.1
-----------------------------

[](#multilanguage-for-laravel-51)

[![Made for Laravel 5](https://camo.githubusercontent.com/3f181a111b7b20077f50dab36f259e620c49abfa98cbb53976f120e19c0e4a9c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c61726176656c2d352e322d677265656e2e737667)](https://laravel.com/)[![Total Downloads](https://camo.githubusercontent.com/4b9935a93ba4602d86e4c90af16a1f322c1285ffd1f6534feec7d5447bf684e4/68747470733a2f2f706f7365722e707567782e6f72672f6b696265727a61757261732f6c61726176656c2e6d756c74696c616e67756167652f642f746f74616c2e737667)](https://packagist.org/packages/kiberzauras/laravel.multilanguage)[![Latest Stable Version](https://camo.githubusercontent.com/189e43c891962836791ef46775eec8ecfe594ff1c73a0b1288831abcbe28dc48/68747470733a2f2f706f7365722e707567782e6f72672f6b696265727a61757261732f6c61726176656c2e6d756c74696c616e67756167652f762f737461626c652e737667)](https://packagist.org/packages/kiberzauras/laravel.multilanguage)[![Latest Unstable Version](https://camo.githubusercontent.com/02c2c29ef07b504d314a8e6d3b5ddfb77982cbf065d2b79d2305ed7b3e290c35/68747470733a2f2f706f7365722e707567782e6f72672f6b696265727a61757261732f6c61726176656c2e6d756c74696c616e67756167652f762f756e737461626c652e737667)](https://packagist.org/packages/kiberzauras/laravel.multilanguage)[![License](https://camo.githubusercontent.com/85c7a2a2a097b07d0d7611b3cb867ef4f274acecfdb20e1aefaa1b1484307d3a/68747470733a2f2f706f7365722e707567782e6f72672f6b696265727a61757261732f6c61726176656c2e6d756c74696c616e67756167652f6c6963656e73652e737667)](https://github.com/kiberzauras/laravel.multilanguage/blob/master/LICENSE.md)

This package will help you to easy create multilanguage routes on top of your single language website. With this package you will be able to access your website with these routes example.com, example.com/en, example.com/en/page and etc. and there is no need to change your routes.php file!

### Installation

[](#installation)

At first you need to install our package:

```
composer require "kiberzauras/laravel.multilanguage"

```

Then you need to create new file under /config/multilanguage.json with this content:

```
{"default":"en","enabled":["en","ru","lt"]}

```

In /public/index.php file change these lines:

```
$response = $kernel->handle(
    $request = Illuminate\Http\Request::capture()
);

```

With these lines:

```
$response = $kernel->handle(
    $request = Kiberzauras\MultiLanguage\Request::capture()
);

```

Add new provider (/config/app.php providers\[\]):

```
Kiberzauras\MultiLanguage\MultiLanguageServiceProvider::class

```

Thats it, your application now can be accessed with url like these:

```
example.com
example.com/
example.com/en
example.com/en/
example.com/admin/page/etc
example.com/en/admin/page/etc

```

Now, try creating hyperlinks:

```
 //or
 // will create route to /en/main/index (it will use default language as prefix)

```

You can access current language like before:

```
App::getLocale();

```

### Notes

[](#notes)

For assets link, use `asset('img/foo.jpg');` or `secure_asset('foo/bar.zip', $title, $attributes = []);`instead of `url('img/foo.jpg');`

### License

[](#license)

The Laravel Multilanguage is open-sourced software licensed under the [MIT license](http://opensource.org/licenses/MIT)

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 96.6% 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 ~25 days

Recently: every ~45 days

Total

13

Last Release

3645d ago

Major Versions

v1.1.1 → v2.02015-08-25

v1.1.3 → v2.0.22015-11-30

### Community

Maintainers

![](https://www.gravatar.com/avatar/397b4d06d1861e7b2ea4d917ee57013128cf71bc8f58a137a6639226af8559b2?d=identicon)[grinry](/maintainers/grinry)

---

Top Contributors

[![grinry](https://avatars.githubusercontent.com/u/5575688?v=4)](https://github.com/grinry "grinry (28 commits)")[![rebornishard](https://avatars.githubusercontent.com/u/1563307?v=4)](https://github.com/rebornishard "rebornishard (1 commits)")

---

Tags

laravelmultilanguagekiberzauras

### Embed Badge

![Health badge](/badges/kiberzauras-laravelmultilanguage/health.svg)

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

###  Alternatives

[monarobase/country-list

List of all countries with names and ISO 3166-1 codes in all languages and data formats for Laravel

2672.7M7](/packages/monarobase-country-list)[stevegrunwell/lost-in-translation

Uncover missing translations and localization strings in Laravel applications

3635.7k](/packages/stevegrunwell-lost-in-translation)[zachleigh/laravel-lang-bundler

Create Laravel translations bundles.

2512.5k](/packages/zachleigh-laravel-lang-bundler)

PHPackages © 2026

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