PHPackages                             pinfort/laravel-lang-selector - 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. pinfort/laravel-lang-selector

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

pinfort/laravel-lang-selector
=============================

Create smart multi-language website by laravel

v0.0.1(8y ago)031MITPHPPHP &gt;=5.3.0

Since May 8Pushed 8y ago1 watchersCompare

[ Source](https://github.com/pinfort/laravel-lang-selector)[ Packagist](https://packagist.org/packages/pinfort/laravel-lang-selector)[ RSS](/packages/pinfort-laravel-lang-selector/feed)WikiDiscussions master Synced today

READMEChangelog (1)Dependencies (2)Versions (2)Used By (0)

laravel-lang-selector
=====================

[](#laravel-lang-selector)

Create smart multi-language website by laravel

Basic Usage
-----------

[](#basic-usage)

### Installation

[](#installation)

```
composer require pinfort/laravel-lang-selector
```

Attention: Perhaps it is necessary to change the minimum stability of the composer...

### Publish files

[](#publish-files)

```
php artisan vendor:publish
```

You will find three new files.

- public/vendor/LangSelector/language.css
    - It is required.
- config/language.php
    - You will edit this file.
- resources/views/vendor/LaravelTopNav/lang\_menu.blade.php
    - This file is main view of menu.
    - In basic, you have no need to edit this file.

### Edit config

[](#edit-config)

Edit config/language.php whatever you need. Read comments in the file.

### Enable library

[](#enable-library)

Add style sheet link to your view. near the line 14

in resources/views/layouts/app.blade.php(created by make:auth command)

```

+
```

Add following code in your view.

in resources/views/layouts/app.blade.php(created by make:auth command)

near the line 66

```

     @endguest
+    @include('LaravelLangSelector::lang_menu')

```

Add middleware to your kernel

in App\\Http\\Kernel.php near the line 38

```
 protected $middlewareGroups = [
    'web' => [
        ......
+       \Pinfort\LaravelLangSelector\Middleware\LangSelector::class,
    ],
 ......
 ];
```

###  Health Score

23

—

LowBetter than 26% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity48

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

2974d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/8953dcc153ae0d1994a57fee8ca8cbf2ccdbc9094c646891f87469e622c8f543?d=identicon)[pinfort](/maintainers/pinfort)

---

Top Contributors

[![pinfort](https://avatars.githubusercontent.com/u/19170349?v=4)](https://github.com/pinfort "pinfort (8 commits)")

---

Tags

laravellocalizationinternationalizationi18nlanguagel10nmulti-language

### Embed Badge

![Health badge](/badges/pinfort-laravel-lang-selector/health.svg)

```
[![Health](https://phpackages.com/badges/pinfort-laravel-lang-selector/health.svg)](https://phpackages.com/packages/pinfort-laravel-lang-selector)
```

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3345.1M337](/packages/psalm-plugin-laravel)[erag/laravel-lang-sync-inertia

A powerful Laravel package for syncing and managing language translations across backend and Inertia.js (Vue/React) frontends, offering effortless localization, auto-sync features, and smooth multi-language support for modern Laravel applications.

4821.5k](/packages/erag-laravel-lang-sync-inertia)[inpsyde/multilingual-press

Simply THE multisite-based free open source plugin for your multilingual websites.

2414.0k1](/packages/inpsyde-multilingual-press)[delight-im/i18n

Internationalization and localization for PHP

595.3k3](/packages/delight-im-i18n)[jrmajor/fluent

Fluent localization system for PHP

2718.0k7](/packages/jrmajor-fluent)[jrmajor/laravel-fluent

Fluent translations for Laravel

208.8k](/packages/jrmajor-laravel-fluent)

PHPackages © 2026

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