PHPackages                             yk/laravel-multi-languages - 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. yk/laravel-multi-languages

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

yk/laravel-multi-languages
==========================

Laravel multi languages website.

1.0.0(9y ago)029GPLv2PHPPHP &gt;=5.6.4

Since Apr 1Pushed 9y ago1 watchersCompare

[ Source](https://github.com/yassine-khachlek/laravel-multi-languages)[ Packagist](https://packagist.org/packages/yk/laravel-multi-languages)[ Docs](https://github.com/yassine-khachlek/laravel-multi-languages)[ RSS](/packages/yk-laravel-multi-languages/feed)WikiDiscussions master Synced 1mo ago

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

Laravel Multi Languages
=======================

[](#laravel-multi-languages)

Easily add languages routes to your application.

### Installation

[](#installation)

Install wia composer:

```
composer require yk/laravel-multi-languages

```

Add the service provider to the file config/app.php:

```
Yk\LaravelMultiLanguages\LaravelMultiLanguagesServiceProvider::class,
```

Publishing the package config, assets and views:

```
php artisan vendor:publish --provider="Yk\LaravelMultiLanguages\LaravelMultiLanguagesServiceProvider"

```

### How it work:

[](#how-it-work)

#### Languages configuration

[](#languages-configuration)

After installing the package, you can configure languages in the published configuration file in config/vendor/yk/laravel-multi-languages/languages.php.

#### Multi languages routes configuration

[](#multi-languages-routes-configuration)

By default, the middleware create multi languages routes for those registered in routes/web.php.

To add other routes, just add relative routes file path to the app directory in config/vendor/yk/laravel-multi-languages/routes.php.

#### Widget

[](#widget)

To use the provided language switcher in your blade views:

```
@include('Yk\LaravelMultiLanguages::widgets.language-switcher')
```

License
-------

[](#license)

### GPLv2

[](#gplv2)

Copyright (c) 2016 Yassine Khachlek

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity58

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

3325d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/c8a109f049bd506d8dba9830fe4cee0f7e44f65965d69c65df41e9948ca516ef?d=identicon)[yassine-khachlek](/maintainers/yassine-khachlek)

---

Top Contributors

[![yassine-khachlek](https://avatars.githubusercontent.com/u/5513479?v=4)](https://github.com/yassine-khachlek "yassine-khachlek (4 commits)")

---

Tags

laravellocalizationi18nlanguagemulti-languages

### Embed Badge

![Health badge](/badges/yk-laravel-multi-languages/health.svg)

```
[![Health](https://phpackages.com/badges/yk-laravel-multi-languages/health.svg)](https://phpackages.com/packages/yk-laravel-multi-languages)
```

###  Alternatives

[codezero/laravel-localized-routes

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

543638.1k4](/packages/codezero-laravel-localized-routes)[pmochine/laravel-tongue

🎉 Finally a subdomain localization that works how you want it to work. 🌐

4158.4k](/packages/pmochine-laravel-tongue)[longman/laravel-multilang

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

5514.4k1](/packages/longman-laravel-multilang)[jrmajor/fluent

Fluent localization system for PHP

2716.9k5](/packages/jrmajor-fluent)[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)
