PHPackages                             futuretek/yii2-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. futuretek/yii2-language

ActiveYii2-extension

futuretek/yii2-language
=======================

Yii2 language support

2.0.0(4y ago)011.2k↓42.9%Apache-2.0PHPPHP &gt;=5.4.0

Since Sep 15Pushed 4y ago1 watchersCompare

[ Source](https://github.com/futuretek-solutions-ltd/ext-yii2-language)[ Packagist](https://packagist.org/packages/futuretek/yii2-language)[ Docs](http://www.futuretek.cz/)[ RSS](/packages/futuretek-yii2-language/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (3)Versions (9)Used By (0)

Yii2 Language support
=====================

[](#yii2-language-support)

Usage
-----

[](#usage)

### Data

[](#data)

Database will be populated via migration automatically.

### Model

[](#model)

Use model `futuretek\language\models\Language` wherever you want

### Language selector

[](#language-selector)

Language selector can be used in any view. Language will be automatically switched in Yii application and saved into cookie.

There are two selectors available:

- `LanguageSelector::dropDown()` - display drop-down with all enabled languages
- `LanguageSelector::flagList()` - display list of all enabled language flags

### Administration

[](#administration)

Extension add very simple language list page with activate/deactivate option.

To include the page into your controller you have to add it to `actions()` method.

```
class LanguageController extends Controller
{
    public function actions()
    {
        return [
            'index' => 'futuretek\language\IndexAction',
        ];
    }
}

```

Development
-----------

[](#development)

Assets are managed by [Compass](http://compass-style.org/)

- While developing run `compass watch` in extension root directory
- To compile assets for final distribution run `compass compile -e production --force` in extension root directory

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity24

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

Every ~195 days

Recently: every ~340 days

Total

8

Last Release

1800d ago

Major Versions

1.4.2 → 2.0.02021-06-14

### Community

Maintainers

![](https://www.gravatar.com/avatar/1ce67c863775f4dd7237db0547fe39aaf85c9841f34773d67e88f62dcf948ae4?d=identicon)[futuretek](/maintainers/futuretek)

---

Top Contributors

[![lukascernydis](https://avatars.githubusercontent.com/u/3111717?v=4)](https://github.com/lukascernydis "lukascernydis (7 commits)")

---

Tags

languageextensionyii

### Embed Badge

![Health badge](/badges/futuretek-yii2-language/health.svg)

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

PHPackages © 2026

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