PHPackages                             shoxabbos/yii2-langselect - 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. shoxabbos/yii2-langselect

ActiveYii2-extension[Localization &amp; i18n](/categories/localization)

shoxabbos/yii2-langselect
=========================

Langugae selector

v1.0(8y ago)08MITPHP

Since Aug 17Pushed 8y ago1 watchersCompare

[ Source](https://github.com/Shoxabbos/yii2-langselect)[ Packagist](https://packagist.org/packages/shoxabbos/yii2-langselect)[ RSS](/packages/shoxabbos-yii2-langselect/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependencies (1)Versions (2)Used By (0)

Langugae selector
=================

[](#langugae-selector)

Langugae selector

Installation
------------

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Either run

```
php composer.phar require --prefer-dist shoxabbos/yii2-langselect "*"

```

or add

```
"shoxabbos/yii2-langselect": "*"

```

to the require section of your `composer.json` file.

Usage
-----

[](#usage)

Add this Bootstrap Class to your web/config.php file:

```
'bootstrap' => [
    [
        'class' => '\shoxabbos\langselect\LanguageSelector',
        'supportedLanguages' => ['en', 'ru'],
    ],
],
```

To change the language of the site, You need to call URL with a "lang" parameter:

```
http://localhost/site/index?lang=en
http://localhost/site/index?lang=ru
```

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity63

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

Unknown

Total

1

Last Release

3239d ago

### Community

Maintainers

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

---

Top Contributors

[![shoxabbos](https://avatars.githubusercontent.com/u/8403807?v=4)](https://github.com/shoxabbos "shoxabbos (2 commits)")

---

Tags

languageyii2extensionselector

### Embed Badge

![Health badge](/badges/shoxabbos-yii2-langselect/health.svg)

```
[![Health](https://phpackages.com/badges/shoxabbos-yii2-langselect/health.svg)](https://phpackages.com/packages/shoxabbos-yii2-langselect)
```

###  Alternatives

[lajax/yii2-translate-manager

Translation management extension for Yii 2

220590.7k13](/packages/lajax-yii2-translate-manager)[omgdef/yii2-multilingual-behavior

Port of the yii-multilingual-behavior for yii

143179.8k9](/packages/omgdef-yii2-multilingual-behavior)[cetver/yii2-languages-dispatcher

Sets the web-application language for the Yii framework 2.0

1030.4k](/packages/cetver-yii2-languages-dispatcher)[lav45/yii2-translated-behavior

This extension allows you to quickly and simple enough to add translations for any ActiveRecord models.

3742.5k](/packages/lav45-yii2-translated-behavior)[devgroup/yii2-multilingual

Allows building yii2 apps for multiple languages using regional URL's and domains

152.6k2](/packages/devgroup-yii2-multilingual)[tigrov/yii2-country

Country data for Yii2 using Intl extension and more.

151.1k](/packages/tigrov-yii2-country)

PHPackages © 2026

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