PHPackages                             birdsolutions/laravel-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. birdsolutions/laravel-language

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

birdsolutions/laravel-language
==============================

Laravel Route Localization Package

1.1(9y ago)082MITPHP

Since Feb 26Pushed 9y ago1 watchersCompare

[ Source](https://github.com/mahmoud-birdsol/laravel-language)[ Packagist](https://packagist.org/packages/birdsolutions/laravel-language)[ RSS](/packages/birdsolutions-laravel-language/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (2)Dependencies (4)Versions (3)Used By (0)

Laravel Route Localization Package
==================================

[](#laravel-route-localization-package)

This package will help you localize your routes, set the language from the routes and add some nice functionality to it.

**Installation**

composer require birdsolutions/laravel-language

**Service Provider**Add the service provider to the config/app.php file

```
[
    /*
     * Package Service Providers...
     */
    BirdSolutions\Language\Providers\LanguageServiceProvider::class,
]

```

**Facade**

```
'aliases' => [
    ...
    'Language' => BirdSolutions\Language\Facades\Language::class,
]

```

**Config**Publish the configuration file.

```
    php artisan vendor:publish --provider="BirdSolutions\Language\Providers\LanguageServiceProvider"

```

**Middleware**Add the language Middleware to the routeMiddleware array in kernel.php

```
protected $routeMiddleware = [
       ...
        'language' => \BirdSolutions\Language\Middleware\LanguageMiddleware::class,
    ];

```

**Routes**

```
Route::group([
        'prefix' => \Language::getLocale(),
        'middleware' => 'language'
    ], function () {
        // Add Localized routes here.
    });

```

**Change Language Manually**

```
    Route::any('/language', '\BirdSolutions\Language\Controllers\LanguageController@changeLanguage');

```

It will accept an input of language and set the language to the desired, you can send in get or post inputs.

```
    English

```

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity64

Established project with proven stability

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

Total

2

Last Release

3345d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/16209999?v=4)[Mahmoud Mokhtar](/maintainers/mahmoud-birdsol)[@mahmoud-birdsol](https://github.com/mahmoud-birdsol)

---

Top Contributors

[![mahmoud-birdsol](https://avatars.githubusercontent.com/u/16209999?v=4)](https://github.com/mahmoud-birdsol "mahmoud-birdsol (8 commits)")

---

Tags

laravellocalelocalizationroute-localization

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/birdsolutions-laravel-language/health.svg)

```
[![Health](https://phpackages.com/badges/birdsolutions-laravel-language/health.svg)](https://phpackages.com/packages/birdsolutions-laravel-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)
