PHPackages                             co\_mit/yii2langswitcher - 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. co\_mit/yii2langswitcher

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

co\_mit/yii2langswitcher
========================

Yii 2 Language Switcher

07PHP

Since Jun 1Pushed 11y ago1 watchersCompare

[ Source](https://github.com/phuoctu/yii2langswitcher)[ Packagist](https://packagist.org/packages/co_mit/yii2langswitcher)[ RSS](/packages/co-mit-yii2langswitcher/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

yii2langswitcher
================

[](#yii2langswitcher)

```
Yii2 Language switcher bar
Create a language selector on screen so user can switch language very easy
It's best in development and test

Using:
$config['bootstrap'][] = 'langswitcher';
$config['modules']['langswitcher'] = [
    'class' => 'co_mit\langswitcher\Module',
    'langs'=>[
      'en'=>'English',
      'ja'=>'Japanese'
    ],
    'defaultLang'=>'en'
];

```

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/6681b2156238ab181435799a877faa60c6b6b9f8714b0fb4e339010b05cce53c?d=identicon)[phuoctu](/maintainers/phuoctu)

---

Top Contributors

[![phuoctu](https://avatars.githubusercontent.com/u/425946?v=4)](https://github.com/phuoctu "phuoctu (3 commits)")

### Embed Badge

![Health badge](/badges/co-mit-yii2langswitcher/health.svg)

```
[![Health](https://phpackages.com/badges/co-mit-yii2langswitcher/health.svg)](https://phpackages.com/packages/co-mit-yii2langswitcher)
```

###  Alternatives

[smmoosavi/php-gettext

Wrapper for php-gettext by danilo segan. This library provides PHP functions to read MO files even when gettext is not compiled in or when appropriate locale is not present on the system.

1927.0k1](/packages/smmoosavi-php-gettext)

PHPackages © 2026

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