PHPackages                             startpl/yii2-sitemanager - 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. startpl/yii2-sitemanager

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

startpl/yii2-sitemanager
========================

Settings for multilanguage, multidomain site

1.0.0(6y ago)06Apache-2.0

Since Dec 18Pushed 6y agoCompare

[ Source](https://github.com/startpl/yii2-sitemanager)[ Packagist](https://packagist.org/packages/startpl/yii2-sitemanager)[ RSS](/packages/startpl-yii2-sitemanager/feed)WikiDiscussions master Synced 1mo ago

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

Settings Module
===============

[](#settings-module)

Settings for multilanguage, multidomain site

[![Packagist](https://camo.githubusercontent.com/ba6c19cf166c2f3fd9cfdb020b593dfbd99837617d13f8ef8e61a2d0f34982f9/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6b6f706572646f672f796969322d736974656d616e61676572)](https://camo.githubusercontent.com/ba6c19cf166c2f3fd9cfdb020b593dfbd99837617d13f8ef8e61a2d0f34982f9/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6b6f706572646f672f796969322d736974656d616e61676572) [![Packagist Version](https://camo.githubusercontent.com/7486b1d3fe15c675eabbe34e9326576f8919aaca09bb01ff7d4a32a95533af81/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6b6f706572646f672f796969322d736974656d616e61676572)](https://camo.githubusercontent.com/7486b1d3fe15c675eabbe34e9326576f8919aaca09bb01ff7d4a32a95533af81/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6b6f706572646f672f796969322d736974656d616e61676572)

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

[](#installation)

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

Either run

```
php composer.phar require --prefer-dist koperdog/yii2-sitemanager "*"

```

or add

```
"koperdog/yii2-sitemanager": "*"

```

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

Add the component to your common config:

```
...
'components' => [
    // ...
    'settings' => [
        'class' => 'koperdog\yii2sitemanager\components\Settings',
    ],
    // ...
]
...
```

also you should add component to bootstrap config:

```
...
'bootstrap' => ['settings'],
...
```

and add the module to backend config:

```
'modules' => [
    'manager' => [
        'class' => 'koperdog\yii2sitemanager\Module',
    ],
],
```

Then start the migration (console):

```
php yii migrate --migrationPath=@vendor/koperdog/yii2-sitemanager/migrations
```

Usage
-----

[](#usage)

Once the extension is installed, simply use it in your code by :

autoloaded settings:

```
\Yii::$app->params['setting_name'];
```

If you are not sure if the setting is autoload:

```
\Yii::$app->settings->get('setting_name');
```

 CRUD and URL config#### CRUD settings:

[](#crud-settings)

go to /manager

#### CRUD domains:

[](#crud-domains)

go to /manager/domains

#### CRUD languages:

[](#crud-languages)

go to /manager/languages

also, if you want use standart CRUD, you can add to Url rule config:

```
// ...
'rules' => [
    'manager' => 'manager/default/index',
    'manager//' => 'manager//',
    'manager/' => 'manager//index',
    'manager/' => 'manager/default/',
],
// ...
```

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity58

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

2331d ago

### Community

Maintainers

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

![](https://avatars.githubusercontent.com/u/57978685?v=4)[startpl](/maintainers/startpl)[@startpl](https://github.com/startpl)

---

Top Contributors

[![evgenii-ch97](https://avatars.githubusercontent.com/u/80455757?v=4)](https://github.com/evgenii-ch97 "evgenii-ch97 (53 commits)")

---

Tags

Settingsyii2multilanguagemultidomaint2cms

### Embed Badge

![Health badge](/badges/startpl-yii2-sitemanager/health.svg)

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

###  Alternatives

[lajax/yii2-language-picker

Yii2 Language Picker Widget

41230.8k3](/packages/lajax-yii2-language-picker)[klisl/yii2-languages

Package

205.4k1](/packages/klisl-yii2-languages)[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)
